[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

4.5.1 Mix_GetNumMusicDecoders

int Mix_GetNumMusicDecoders()

Get the number of music decoders available from the Mix_GetMusicDecoder function. This number can be different for each run of a program, due to the change in availability of shared libraries that support each format.

Returns: The number of music decoders available.

 
// print the number of music decoders available
printf("There are %d music deocoders available\n", Mix_GetNumMusicDecoders());

See Also:
4.2.1 Mix_GetNumChunkDecoders, 4.5.2 Mix_GetMusicDecoder, 4.5.3 Mix_LoadMUS



This document was generated on November, 13 2009 using texi2html