Mercurial > SDL_sound_CoreAudio
comparison decoders/wav.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 | e46e31fdecfd |
children | bdbe09014724 |
comparison
equal
deleted
inserted
replaced
148:d51546293fd1 | 149:1df5c106504e |
---|---|
48 static void WAV_quit(void); | 48 static void WAV_quit(void); |
49 static int WAV_open(Sound_Sample *sample, const char *ext); | 49 static int WAV_open(Sound_Sample *sample, const char *ext); |
50 static void WAV_close(Sound_Sample *sample); | 50 static void WAV_close(Sound_Sample *sample); |
51 static Uint32 WAV_read(Sound_Sample *sample); | 51 static Uint32 WAV_read(Sound_Sample *sample); |
52 | 52 |
53 static const char *extensions_wav[] = { "WAV", NULL }; | |
53 const Sound_DecoderFunctions __Sound_DecoderFunctions_WAV = | 54 const Sound_DecoderFunctions __Sound_DecoderFunctions_WAV = |
54 { | 55 { |
55 { | 56 { |
56 "WAV", | 57 extensions_wav, |
57 "Microsoft WAVE audio format", | 58 "Microsoft WAVE audio format", |
58 "Ryan C. Gordon <icculus@clutteredmind.org>", | 59 "Ryan C. Gordon <icculus@clutteredmind.org>", |
59 "http://www.icculus.org/SDL_sound/" | 60 "http://www.icculus.org/SDL_sound/" |
60 }, | 61 }, |
61 | 62 |