CNFABinding
Uses cnlohr's CNFA for compatibility with non-Windows platforms.
On this page
CNFA provides compatibility with a variety of different audio systems on various platforms. It is currently the only supported method of receiving audio on Linux. On Windows, WASAPILoopback is recommended instead.
Configuration
Option Name | Type | Default | Range | Description |
---|---|---|---|---|
Driver | string | "AUTO" | "AUTO", "ALSA", "ANDROID", "NULL", "PULSE", "WASAPI", "WIN" | Determines which CNFA driver module will be used. If "AUTO" is specified, it will attempt to find the best driver for your system. |
SampleRate | int | 48000 | 8000~384000 | Suggests a sample rate to the driver. |
ChannelCount | int | 2 | 1~20 | Suggests a channel count to the driver. |
BufferSize | int | 480 | 1~10000 | Suggests a buffer size to the driver. |
Device | string | "default" | Valid device names / keywords | The recording device to use. This depends on the driver. Please check CNFA documentation for the driver you want to use to determine what should be used here. |
DeviceOutput | string | "default" | Valid device names / keywords | The output device to use. This device is not actually used, as ColorChord.NET does not play audio. |