Sound_DecoderInfo Information about available sound decoders.
Defined in <SDL3_sound/SDL_sound.h>
typedef struct Sound_DecoderInfo
{
const char **extensions; /**< File extensions, list ends with NULL. */
const char *description; /**< Human readable description of decoder. */
const char *author; /**< "Name Of Author <email@emailhost.dom>" */
const char *url; /**< URL specific to this decoder. */
} Sound_DecoderInfo;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:
for (const char **ext = info->extensions; *ext != NULL; ext++) {
printf(" File extension \"%s\"\n", *ext);
}This struct is available since SDL_sound 1.0.0.