ASIO.DeviceSampleRateSupportedCountGet method |
|
Remarks
Obtains the number of sample rates supported by the given ASIO device. Single supported sample rates can be obtained through the ASIO.DeviceSampleRateSupportedGet method.
This method can be only used after the ASIO device has been started through the ASIO.DeviceStart method.
For further details about the use of ASIO drivers see the ASIOMan class and the How to manage ASIO drivers tutorial.
Syntax
[Visual Basic] Public Function DeviceSampleRateSupportedCountGet ( nDeviceIndex as Int16, ByRef nCount as Int32 ) as enumErrorCodes |
[C#] public enumErrorCodes DeviceSampleRateSupportedCountGet ( Int16 nDeviceIndex, ref Int32 nCount ); |
[C++] public: enumErrorCodes DeviceSampleRateSupportedCountGet ( Int16 nDeviceIndex, Int32 __gc *nCount ); |
Parameter |
Description |
|
|
nDeviceIndex |
Number representing the zero-based index of the ASIO device. This index is related to available ASIO devices so it must be the related to the enumeration performed through the ASIO.DeviceGetCount and ASIO.DeviceGetDesc methods: it must not be confused with indexes related to generic output devices enumerated through the GetOutputDevicesCount and GetOutputDeviceDesc methods which may contain both DirectSound and ASIO devices |
nCount |
Reference that, on return from the method call, will contain the number of sample rates supported by the given ASIO device. |
Return value
Value |
Meaning |
|
|
Negative value |
An error occurred (see the LastError property for further error details) |
enumErrorCodes.NOERROR (0) |
The method call was successful. |