In addition, I can't seem to play to the DragonFly device:
// Initialize device.
if (!BASS_WASAPI_Init(device, 0, 0, BASS_WASAPI_AUTOFORMAT | BASS_WASAPI_ASYNC | BASS_WASAPI_EXCLUSIVE | BASS_WASAPI_RAW | BASS_WASAPI_CATEGORY_MEDIA, 0.1f, 0.05f, WasapiProc, this))
{
eprintf("BASS: Error initializing WASAPI device %d with sample rate %d in exclusive mode: %d", device, bestSampleRate, BASS_ErrorGetCode());
if (!BASS_WASAPI_Init(device, 0, 0, BASS_WASAPI_AUTOFORMAT | BASS_WASAPI_RAW | BASS_WASAPI_CATEGORY_MEDIA, 0.1f, 0.05f, WasapiProc, this))
{
eprintf("BASS: Error initializing WASAPI device %d with sample rate %d in shared mode: %d", device, bestSampleRate, BASS_ErrorGetCode());
return false;
}
}
BASS: Error initializing WASAPI device 1 with sample rate 44100 in exclusive mode: 37
BASS: Error initializing WASAPI device 1 with sample rate 44100 in shared mode: -1
The other device (ID: 2) works great.
Curiously, in the Volume Mixer app in Windows 11. the AudioQuest DragonFly doesn't show up as an input device at all.
In BASS-land, things look more sane:
BASS: Device 1: Default - enabled default handset hdmi headset line speakers
BASS: Device 2: Speakers (AudioQuest DragonFly Red v1.0) - enabled default handset hdmi headset line speakers
BASS: Device 3: Speakers (High Definition Audio Device) - enabled handset hdmi headset line speakers
However, if I attempt to play to that device, I get a very similar errors:
BASS: Error initializing device 2 with sample rate 44100 and flags 00000000 (-1).
I've tested Foobar 2000 and the device works as expected (assuming it uses WASAPI as well but not sure)
(And forgive me for hjacking this thread, happy to open a new one if you'd like.)