FSOUND_SetDriver

##### [API function]

## FSOUND_SetDriver

Selects a soundcard driver.
It is used when an output mode has enumerated more than one output device, and you need to select between them.

signed char F_API FSOUND_SetDriver(
int driver
);

### Parameters

driverno | Driver number to select. 0 will select the DEFAULT sound driver. <0 will select an INVALID driver which will case the DEVICE to be set to a null (nosound) driver. >0 Selects other valid drivers that can be listed with FSOUND_GetDriverName.

### Return Value

On success, TRUE is returned.
On failure, (ie if FMOD is already active) FALSE is returned.

### Remarks

This function cannot be called after FMOD is already activated with FSOUND_Init.
It must be called before FSOUND_Init, or after FSOUND_Close.
___________________
Supported on the following platforms : Win32, WinCE, Linux, Macintosh, XBox, PlayStation 2, GameCube

### See Also

FSOUND_Close , FSOUND_GetDriver , FSOUND_GetDriverName , FSOUND_GetNumDrivers , FSOUND_Init , FSOUND_SetOutput

This document copyright ©Firelight Technologies, Pty, Ltd, 1999-2002. All rights reserved.
Generated Thu Dec 15 17:31:33 2005 by SourceDoc v0.10, the automated source code documenter.