comparison SDL_sound.h @ 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 ac49f81e42d6
children e91fb8d5bd62
comparison
equal deleted inserted replaced
148:d51546293fd1 149:1df5c106504e
110 * Each decoder sets up one of these structs, which can be retrieved via 110 * Each decoder sets up one of these structs, which can be retrieved via
111 * the Sound_AvailableDecoders() function. EVERY FIELD IN THIS IS READ-ONLY. 111 * the Sound_AvailableDecoders() function. EVERY FIELD IN THIS IS READ-ONLY.
112 */ 112 */
113 typedef struct __SOUND_DECODERINFO__ 113 typedef struct __SOUND_DECODERINFO__
114 { 114 {
115 const char *extension; /* standard file extension. "MP3", "WAV"... */ 115 const char **extensions; /* File extensions, list ends with NULL. */
116 const char *description; /* Human readable description of decoder. */ 116 const char *description; /* Human readable description of decoder. */
117 const char *author; /* "Name Of Author <email@emailhost.dom>" */ 117 const char *author; /* "Name Of Author <email@emailhost.dom>" */
118 const char *url; /* URL specific to this decoder. */ 118 const char *url; /* URL specific to this decoder. */
119 } Sound_DecoderInfo; 119 } Sound_DecoderInfo;
120 120
121 121
122 122
123 /* 123 /*