initDriver

Initializes the audio driver, then sets up the device list.

int
initDriver
(
DriverType type = OS_PREFERRED_DRIVER
)

Parameters

type DriverType

The type of driver, defaults to system recommended otherwise.

Return Value

Type: int

0 (or AudioInitializationStatus.AllOk) if there was no error, or a specific errorcode.

Meta