Sound_DecoderInfo man page

Sound_DecoderInfo — Information about available soudn decoders.

Synopsis

#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 
}

See also:

Sound_AvailableDecoders

Field Documentation

const char* Sound_DecoderInfo::author

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

const char* Sound_DecoderInfo::description

Human readable description of decoder.

const char** Sound_DecoderInfo::extensions

File extensions, list ends with NULL.

const char* Sound_DecoderInfo::url

URL specific to this decoder.

Author

Generated automatically by Doxygen for SDL_sound from the source code.

Referenced By

Sound_DecoderInfo::author(3), Sound_DecoderInfo::description(3), Sound_DecoderInfo::extensions(3) and Sound_DecoderInfo::url(3) are aliases of Sound_DecoderInfo(3).

Wed Feb 3 2016 Version 1.0.1 SDL_sound