Mercurial > SDL_sound_CoreAudio
comparison decoders/ogg.c @ 149:1df5c106504e
Decoders can now list multiple file extensions.
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Thu, 01 Nov 2001 19:13:17 +0000 |
parents | 095a066b2cd2 |
children | 47cc2de2ae36 |
comparison
equal
deleted
inserted
replaced
148:d51546293fd1 | 149:1df5c106504e |
---|---|
57 static void OGG_quit(void); | 57 static void OGG_quit(void); |
58 static int OGG_open(Sound_Sample *sample, const char *ext); | 58 static int OGG_open(Sound_Sample *sample, const char *ext); |
59 static void OGG_close(Sound_Sample *sample); | 59 static void OGG_close(Sound_Sample *sample); |
60 static Uint32 OGG_read(Sound_Sample *sample); | 60 static Uint32 OGG_read(Sound_Sample *sample); |
61 | 61 |
62 static const char *extensions_ogg[] = { "OGG", NULL }; | |
62 const Sound_DecoderFunctions __Sound_DecoderFunctions_OGG = | 63 const Sound_DecoderFunctions __Sound_DecoderFunctions_OGG = |
63 { | 64 { |
64 { | 65 { |
65 "OGG", | 66 extensions_ogg, |
66 "Ogg Vorbis audio through VorbisFile", | 67 "Ogg Vorbis audio through VorbisFile", |
67 "Ryan C. Gordon <icculus@clutteredmind.org>", | 68 "Ryan C. Gordon <icculus@clutteredmind.org>", |
68 "http://www.icculus.org/SDL_sound/" | 69 "http://www.icculus.org/SDL_sound/" |
69 }, | 70 }, |
70 | 71 |