Wiki Page Content

Revision 8 as of 2013-07-14 06:44:09

Clear message

SDL_GetNumAudioDrivers

Use this function to return the number of built in audio drivers.

Syntax

int SDL_GetNumAudioDrivers(void)

Return Value

Returns the number of built in audio drivers. green

Code Examples

int i;

for ( i = 0; i < SDL_GetNumAudioDrivers(); ++i ) {
    printf("Audio driver %d: %s\n", i, SDL_GetAudioDriver(i));
}

Remarks

You can add useful comments here


CategoryAPI, CategoryAudio

(Page Info.)
Feedback
Please include your contact information if you'd like to receive a reply.
Submit