|
⇤ ← Revision 1 as of 2009-11-15 01:44:20
Size: 502
Comment: create page, add content
|
Size: 594
Comment: content added
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 19: | Line 19: |
| You can add your code example here | int i; for ( i = 0; i < SDL_GetNumAudioDrivers(); ++i ) { printf("Audio driver %d: %s\n", i, SDL_GetAudioDriver(i); } |
SDL_GetNumAudioDrivers
Use this function to return the number of built in audio drivers.
Syntax
int SDL_GetNumAudioDrivers(void)
Return Value
The number of built in audio drivers.
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
