Firelight Technologies FMOD Studio API
System::getRecordNumDrivers
Retrieves the number of recording devices available for this output mode. Use this to enumerate all recording devices possible so that the user can select one.
C++ Syntax
FMOD_RESULT System::getRecordNumDrivers(
int *numdrivers,
int *numconnected
);
C Syntax
FMOD_RESULT FMOD_System_GetRecordNumDrivers(
FMOD_SYSTEM *system,
int *numdrivers,
int *numconnected
);
C# Syntax
RESULT System.getRecordNumDrivers(
out int numdrivers,
out int numconnected
);
JavaScript Syntax
System.getRecordNumDrivers(
numdrivers, // writes value to numdrivers.val
numconnected // writes value to numconnected.val
);
Parameters
- numdrivers
- Address of a variable that receives the number of recording drivers available for this output mode. Optional. Specify 0 or NULL to ignore.
- numconnected
- Address of a variable that receives the number of recording driver currently plugged in. Optional. Specify 0 or NULL to ignore.
Return Values
If the function succeeds then the return value is FMOD_OK.
If the function fails then the return value will be one of the values defined in the FMOD_RESULT enumeration.
See Also
Version 1.10.03 Built on Feb 1, 2018