Mercurial > SDL_sound_CoreAudio
diff decoders/ogg.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 | d3dc34315ac7 |
children | aa7f6a110971 |
line wrap: on
line diff
--- a/decoders/ogg.c Sun Apr 21 17:48:11 2002 +0000 +++ b/decoders/ogg.c Sun Apr 21 18:39:47 2002 +0000 @@ -59,6 +59,7 @@ static void OGG_close(Sound_Sample *sample); static Uint32 OGG_read(Sound_Sample *sample); static int OGG_rewind(Sound_Sample *sample); +static int OGG_seek(Sound_Sample *sample, Uint32 ms); static const char *extensions_ogg[] = { "OGG", NULL }; const Sound_DecoderFunctions __Sound_DecoderFunctions_OGG = @@ -75,7 +76,8 @@ OGG_open, /* open() method */ OGG_close, /* close() method */ OGG_read, /* read() method */ - OGG_rewind /* rewind() method */ + OGG_rewind, /* rewind() method */ + OGG_seek /* seek() method */ }; @@ -275,6 +277,12 @@ return(1); } /* OGG_rewind */ + +static int OGG_seek(Sound_Sample *sample, Uint32 ms) +{ + BAIL_MACRO("!!! FIXME: Not implemented", 0); +} /* OGG_seek */ + #endif /* SOUND_SUPPORTS_OGG */