Sound_DecoderInfo (3) - Linux Manuals
Sound_DecoderInfo: Information about available soudn decoders.
NAME
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 '%s', *ext); }
See also:
- Sound_AvailableDecoders
Field Documentation
const char* Sound_DecoderInfo::author
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.