Main Page   Data Structures   File List   Data Fields   Globals  

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:

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.

The documentation for this struct was generated from the following file:
Generated on Sun Oct 12 14:26:36 2003 for SDL_sound by doxygen1.2.16