Sound_DecoderInfo (3) Linux Manual Page
Sound_DecoderInfo – Information about available soudn decoders.
Synopsis
#include <SDL_sound.h>Data Fields
const char ** extensionsconst char * description
const char * author
const char * url
Detailed Description
Information about available soudn decoders.Each decoder sets up one of these structs, which can be retrieved via the Sound_AvailableDecoders() function. EVERY FIELD IN THIS IS READ-ONLY.
The extensions field is a NULL-terminated list of ASCIZ strings. You should read it like this:
const char **ext;See also:
for (ext = info->extensions; *ext != NULL; ext++) {
printf(‘ File extension ‘%s’, *ext);
}
- Sound_AvailableDecoders
