ASIO Source Filter Specification
The ASIO source filter can only be used as the first filter of an input graph. It reads audio data from the specified ASIO device.
JSON Structure
{
"name": "ASIO Source",
"device": {
"name": "...",
"channels": "..."
},
"format": {
"sampleRate": ...,
"resolution": ...
}
"allowDifferentSampleRate": true/false
}
Field | Description |
---|---|
device | Defines the ASIO device and channels to use.
|
format | Describes the audio format, which is to be read from the device.
|
allowDifferentSampleRate | The parameter is optional, the default is |
Notes:
- The "name" of a given ASIO device is not always obvious. ROAD's devices API to enumerate the names of all installed ASIO devices, as well as the number of channels they offer.
- There is no need to specify a channel count in the "format" data, because this is implicitly defined by the number of entries in the "channels" list of the device specification.
- When auto-selecting a sample rate, because "sampleRate" is 0 and/or "allowDifferentSampleRate" is
true
, the filter tries the following values: 96000 Hz, 48000 Hz, 44100 Hz, and the current value reported by the ASIO driver.