Mercurial > SDL_sound_CoreAudio
comparison decoders/modplug.c @ 477:3e705c9180e5
Fixed binary compatibility, added Sound_GetDuration().
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Wed, 12 May 2004 02:15:00 +0000 |
parents | c66080364dff |
children | 67d785044411 |
comparison
equal
deleted
inserted
replaced
475:f0b8865577db | 477:3e705c9180e5 |
---|---|
268 total_mods_decoding++; | 268 total_mods_decoding++; |
269 | 269 |
270 if (modplug_mutex != NULL) | 270 if (modplug_mutex != NULL) |
271 SDL_UnlockMutex(modplug_mutex); | 271 SDL_UnlockMutex(modplug_mutex); |
272 | 272 |
273 sample->total_time = ModPlug_GetLength(module); | 273 internal->total_time = ModPlug_GetLength(module); |
274 SNDDBG(("MODPLUG: [%d ms] %s\n", | 274 SNDDBG(("MODPLUG: [%d ms] %s\n", |
275 ModPlug_GetLength(module), ModPlug_GetName(module))); | 275 ModPlug_GetLength(module), ModPlug_GetName(module))); |
276 | 276 |
277 internal->decoder_private = (void *) module; | 277 internal->decoder_private = (void *) module; |
278 sample->flags = SOUND_SAMPLEFLAG_CANSEEK; | 278 sample->flags = SOUND_SAMPLEFLAG_CANSEEK; |