Mercurial > SDL_sound_CoreAudio
comparison decoders/mp3.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 | 40de367eb59e |
children | 47cc2de2ae36 |
comparison
equal
deleted
inserted
replaced
148:d51546293fd1 | 149:1df5c106504e |
---|---|
53 static void MP3_quit(void); | 53 static void MP3_quit(void); |
54 static int MP3_open(Sound_Sample *sample, const char *ext); | 54 static int MP3_open(Sound_Sample *sample, const char *ext); |
55 static void MP3_close(Sound_Sample *sample); | 55 static void MP3_close(Sound_Sample *sample); |
56 static Uint32 MP3_read(Sound_Sample *sample); | 56 static Uint32 MP3_read(Sound_Sample *sample); |
57 | 57 |
58 static const char *extensions_smpeg[] = { "MP3", "MPEG", "MPG", NULL }; | |
58 const Sound_DecoderFunctions __Sound_DecoderFunctions_MP3 = | 59 const Sound_DecoderFunctions __Sound_DecoderFunctions_MP3 = |
59 { | 60 { |
60 { | 61 { |
61 "MP3", | 62 extensions_smpeg, |
62 "MPEG-1 Layer 3 audio through SMPEG", | 63 "MPEG-1 Layer 3 audio through SMPEG", |
63 "Ryan C. Gordon <icculus@clutteredmind.org>", | 64 "Ryan C. Gordon <icculus@clutteredmind.org>", |
64 "http://www.icculus.org/SDL_sound/" | 65 "http://www.icculus.org/SDL_sound/" |
65 }, | 66 }, |
66 | 67 |