All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines
Public Attributes
Sound_DecoderInfo Struct Reference

Information about available soudn decoders. More...

#include <SDL_sound.h>

List of all members.

Public Attributes

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:

Definition at line 140 of file SDL_sound.h.

Member Data Documentation

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

Definition at line 144 of file SDL_sound.h.

Human readable description of decoder.

Definition at line 143 of file SDL_sound.h.

File extensions, list ends with NULL.

Definition at line 142 of file SDL_sound.h.

URL specific to this decoder.

Definition at line 145 of file SDL_sound.h.

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