Mercurial > SDL_sound_CoreAudio
diff decoders/mikmod.c @ 306:c97be6e1bd27
Added framework for Sound_Seek() support.
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Sun, 21 Apr 2002 18:39:47 +0000 |
parents | c345a40a8a99 |
children | 498240aa76f1 |
line wrap: on
line diff
--- a/decoders/mikmod.c Sun Apr 21 17:48:11 2002 +0000 +++ b/decoders/mikmod.c Sun Apr 21 18:39:47 2002 +0000 @@ -51,6 +51,7 @@ static void MIKMOD_close(Sound_Sample *sample); static Uint32 MIKMOD_read(Sound_Sample *sample); static int MIKMOD_rewind(Sound_Sample *sample); +static int MIKMOD_seek(Sound_Sample *sample, Uint32 ms); static const char *extensions_mikmod[] = { @@ -89,7 +90,8 @@ MIKMOD_open, /* open() method */ MIKMOD_close, /* close() method */ MIKMOD_read, /* read() method */ - MIKMOD_rewind /* rewind() method */ + MIKMOD_rewind, /* rewind() method */ + MIKMOD_seek /* seek() method */ }; @@ -295,6 +297,10 @@ } /* MIKMOD_rewind */ +static int MIKMOD_seek(Sound_Sample *sample, Uint32 ms) +{ + BAIL_MACRO("!!! FIXME: Not implemented", 0); +} /* MIKMOD_seek */ #endif /* SOUND_SUPPORTS_MIKMOD */