SDL_sound unknown version (build with 'make docs' next time!)
Sound_DecoderInfo Struct Reference

Information about available soudn decoders. More...

#include <SDL_sound.h>

Data Fields

const char ** extensions
 
const 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;
for (ext = info->extensions; *ext != NULL; ext++) {
printf(" File extension \"%s\"\n", *ext);
}
See also
Sound_AvailableDecoders

Field Documentation

◆ author

const char* Sound_DecoderInfo::author

"Name Of Author \<email@emailhost.dom\>"

◆ description

const char* Sound_DecoderInfo::description

Human readable description of decoder.

◆ extensions

const char** Sound_DecoderInfo::extensions

File extensions, list ends with NULL.

◆ url

const char* Sound_DecoderInfo::url

URL specific to this decoder.


The documentation for this struct was generated from the following file: