Mercurial > SDL_sound_CoreAudio
diff decoders/au.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 | 9828311da44b |
children | a81976ed5df7 |
line wrap: on
line diff
--- a/decoders/au.c Sun Apr 21 17:48:11 2002 +0000 +++ b/decoders/au.c Sun Apr 21 18:39:47 2002 +0000 @@ -49,6 +49,7 @@ static void AU_close(Sound_Sample *sample); static Uint32 AU_read(Sound_Sample *sample); static int AU_rewind(Sound_Sample *sample); +static int AU_seek(Sound_Sample *sample, Uint32 ms); /* * Sometimes the extension ".snd" is used for these files (mostly on the NeXT), @@ -70,7 +71,8 @@ AU_open, /* open() method */ AU_close, /* close() method */ AU_read, /* read() method */ - AU_rewind /* rewind() method */ + AU_rewind, /* rewind() method */ + AU_seek /* seek() method */ }; /* no init/deinit needed */ @@ -316,5 +318,11 @@ return(1); } /* AU_rewind */ + +static int AU_seek(Sound_Sample *sample, Uint32 ms) +{ + BAIL_MACRO("!!! FIXME: Not implemented", 0); +} /* AU_seek */ + #endif /* SOUND_SUPPORTS_AU */