Sound_DecoderInfo

Langue: en

Autres versions - même langue

Version: 161232 (fedora - 05/07/09)

Section: 3 (Bibliothèques de fonctions)

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.