comparison decoders/shn.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 8a5a1c61d3c6
children 0f958979b1dd
comparison
equal deleted inserted replaced
148:d51546293fd1 149:1df5c106504e
65 static void SHN_quit(void); 65 static void SHN_quit(void);
66 static int SHN_open(Sound_Sample *sample, const char *ext); 66 static int SHN_open(Sound_Sample *sample, const char *ext);
67 static void SHN_close(Sound_Sample *sample); 67 static void SHN_close(Sound_Sample *sample);
68 static Uint32 SHN_read(Sound_Sample *sample); 68 static Uint32 SHN_read(Sound_Sample *sample);
69 69
70 static const char *extensions_shn[] = { "SHN", NULL };
70 const Sound_DecoderFunctions __Sound_DecoderFunctions_SHN = 71 const Sound_DecoderFunctions __Sound_DecoderFunctions_SHN =
71 { 72 {
72 { 73 {
73 "SHN", 74 extensions_shn,
74 "Shorten-compressed audio data", 75 "Shorten-compressed audio data",
75 "Ryan C. Gordon <icculus@clutteredmind.org>", 76 "Ryan C. Gordon <icculus@clutteredmind.org>",
76 "http://www.icculus.org/SDL_sound/" 77 "http://www.icculus.org/SDL_sound/"
77 }, 78 },
78 79