Wiki Page Content

Differences between revisions 3 and 4
Revision 3 as of 2009-11-15 01:33:17
Size: 699
Editor: SheenaSmith
Comment:
Revision 4 as of 2009-11-15 01:34:09
Size: 730
Editor: SheenaSmith
Comment: edit format and content
Deletions are marked like this. Additions are marked like this.
Line 15: Line 15:
||'''index'''||the value ranges from 0 to 1 - [[SDL_GetNumAudioDrivers]]()|| ||'''index'''||the index of the audio driver; the value ranges from 0 to 1 - [[SDL_GetNumAudioDrivers]]()||

SDL_GetAudioDriver

Use this function to return the list of built in audio drivers, in the order that they are normally initialized by default.

Syntax

const char * SDL_GetAudioDriver (int index)

Function Parameters

index

the index of the audio driver; the value ranges from 0 to 1 - SDL_GetNumAudioDrivers()

Return Value

The name of the audio driver at the requested index.

Code Examples

You can add your code example here

Remarks

This is a driver discovery function.

None: SDL_GetAudioDriver (last edited 2014-10-10 20:17:37 by PhilippWiesemann)

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