##### [API function]

## FSOUND_GetDriverName

Returns the name of the selected driver. Drivers are enumerated when selecting a driver with
FSOUND_SetDriver or other driver related functions such as FSOUND_GetNumDrivers or
FSOUND_GetDriver

const char * F_API FSOUND_GetDriverName(
int id
);

### Parameters

id | Enumerated driver ID. This must be in a valid range delimited by FSOUND_GetNumDrivers,

### Return Value

On success, a pointer to a NULL terminated string containing the name of the specified device is returned. The number of drivers enumerated can be found with FSOUND_GetNumDrivers.
On failure, NULL is returned.

### Remarks

If no driver is selected, the default driver is used.

### See Also

FSOUND_GetDriver , FSOUND_GetNumDrivers , FSOUND_SetDriver

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