comparison decoders/raw.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
58 static void RAW_quit(void); 58 static void RAW_quit(void);
59 static int RAW_open(Sound_Sample *sample, const char *ext); 59 static int RAW_open(Sound_Sample *sample, const char *ext);
60 static void RAW_close(Sound_Sample *sample); 60 static void RAW_close(Sound_Sample *sample);
61 static Uint32 RAW_read(Sound_Sample *sample); 61 static Uint32 RAW_read(Sound_Sample *sample);
62 62
63 static const char *extensions_raw[] = { "RAW", NULL };
63 const Sound_DecoderFunctions __Sound_DecoderFunctions_RAW = 64 const Sound_DecoderFunctions __Sound_DecoderFunctions_RAW =
64 { 65 {
65 { 66 {
66 "RAW", 67 extensions_raw,
67 "Raw audio", 68 "Raw audio",
68 "Ryan C. Gordon <icculus@clutteredmind.org>", 69 "Ryan C. Gordon <icculus@clutteredmind.org>",
69 "http://www.icculus.org/SDL_sound/" 70 "http://www.icculus.org/SDL_sound/"
70 }, 71 },
71 72