Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

Sound_DecoderInfo Struct Reference

Information about available soudn decoders. More...

#include <SDL_sound.h>

List of all members.

Public Attributes

const char ** extensions
 File extensions, list ends with NULL.
const char * description
 Human readable description of decoder.
const char * author
 "Name Of Author \<email@emailhost.dom\>"
const char * url
 URL specific to this decoder.


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

Definition at line 160 of file SDL_sound.h.


Member Data Documentation

const char* Sound_DecoderInfo::author
 

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

Definition at line 164 of file SDL_sound.h.

const char* Sound_DecoderInfo::description
 

Human readable description of decoder.

Definition at line 163 of file SDL_sound.h.

const char** Sound_DecoderInfo::extensions
 

File extensions, list ends with NULL.

Definition at line 162 of file SDL_sound.h.

const char* Sound_DecoderInfo::url
 

URL specific to this decoder.

Definition at line 165 of file SDL_sound.h.


The documentation for this struct was generated from the following file:
Generated on Tue Jun 24 02:20:53 2008 for Advanced Strategic Command by  doxygen 1.4.2