Mercurial > SDL_sound_CoreAudio
diff decoders/voc.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 | ca43129df299 |
children | f6475949cd59 |
line wrap: on
line diff
--- a/decoders/voc.c Sun Apr 21 17:48:11 2002 +0000 +++ b/decoders/voc.c Sun Apr 21 18:39:47 2002 +0000 @@ -59,6 +59,7 @@ static void VOC_close(Sound_Sample *sample); static Uint32 VOC_read(Sound_Sample *sample); static int VOC_rewind(Sound_Sample *sample); +static int VOC_seek(Sound_Sample *sample, Uint32 ms); static const char *extensions_voc[] = { "VOC", NULL }; const Sound_DecoderFunctions __Sound_DecoderFunctions_VOC = @@ -75,7 +76,8 @@ VOC_open, /* open() method */ VOC_close, /* close() method */ VOC_read, /* read() method */ - VOC_rewind /* rewind() method */ + VOC_rewind, /* rewind() method */ + VOC_seek /* seek() method */ }; @@ -502,6 +504,13 @@ return(1); } /* VOC_rewind */ + +static int VOC_seek(Sound_Sample *sample, Uint32 ms) +{ + BAIL_MACRO("!!! FIXME: Not implemented", 0); +} /* VOC_seek */ + + #endif /* SOUND_SUPPORTS_VOC */ /* end of voc.c ... */