I am using FreeDV 2.0.0 on Windows 11 (23H2) and encounter an error when "start" the (already launched) application. error only occurs when I use my Logitech Pro X headset as the "Output from computer to Speaker/Headphones."
I have tried various sample rates without success.
In the meantime I have been using other stereo devices for speaker/headphone (Bluetooth buds, and normal speakers which leverage sound via HDMI from my screen/monitor)
Thanks for your application it's GREAT.
If further information is needed please let me know.
Below is the debug of the relevant section.
12:55:34 [363] INFO /home/mooneer/freedv-gui/src/audio/WASAPIAudioEngine.cpp:261: Creating WASAPIAudioDevice for device Microphone (5- USB Audio CODEC ) (ID 2, direction = 0, sample rate = 48000, number of channels = 1)
12:55:34 [364] INFO /home/mooneer/freedv-gui/src/audio/WASAPIAudioEngine.cpp:261: Creating WASAPIAudioDevice for device Speakers (5- USB Audio CODEC ) (ID 0, direction = 1, sample rate = 48000, number of channels = 1)
12:55:34 [365] INFO /home/mooneer/freedv-gui/src/audio/WASAPIAudioEngine.cpp:261: Creating WASAPIAudioDevice for device Microphone (Logitech PRO X Gaming Headset) (ID 3, direction = 0, sample rate = 48000, number of channels = 1)
12:55:34 [366] INFO /home/mooneer/freedv-gui/src/audio/WASAPIAudioEngine.cpp:261: Creating WASAPIAudioDevice for device Speakers (Logitech PRO X Gaming Headset) (ID 8, direction = 1, sample rate = 48000, number of channels = 1)
12:55:34 [367] INFO /home/mooneer/freedv-gui/src/audio/WASAPIAudioDevice.cpp:359: Stopping device with direction 1, sample rate 48000, num channels 8
12:55:34 [368] INFO /home/mooneer/freedv-gui/src/audio/WASAPIAudioDevice.cpp:359: Stopping device with direction 0, sample rate 48000, num channels 1
12:55:34 [369] INFO /home/mooneer/freedv-gui/src/audio/WASAPIAudioDevice.cpp:359: Stopping device with direction 1, sample rate 48000, num channels 2
12:55:34 [370] INFO /home/mooneer/freedv-gui/src/audio/WASAPIAudioDevice.cpp:359: Stopping device with direction 0, sample rate 48000, num channels 1
12:55:34 [371] DEBUG /home/mooneer/freedv-gui/src/main.cpp:2544: startRxStream .....
12:55:34 [372] INFO /home/mooneer/freedv-gui/src/audio/WASAPIAudioEngine.cpp:261: Creating WASAPIAudioDevice for device Microphone (5- USB Audio CODEC ) (ID 2, direction = 0, sample rate = 48000, number of channels = 2)
12:55:34 [373] INFO /home/mooneer/freedv-gui/src/audio/WASAPIAudioEngine.cpp:261: Creating WASAPIAudioDevice for device Speakers (Logitech PRO X Gaming Headset) (ID 8, direction = 1, sample rate = 48000, number of channels = 2)
12:55:34 [374] INFO /home/mooneer/freedv-gui/src/audio/WASAPIAudioEngine.cpp:261: Creating WASAPIAudioDevice for device Microphone (Logitech PRO X Gaming Headset) (ID 3, direction = 0, sample rate = 48000, number of channels = 2)
12:55:34 [375] INFO /home/mooneer/freedv-gui/src/audio/WASAPIAudioEngine.cpp:261: Creating WASAPIAudioDevice for device Speakers (5- USB Audio CODEC ) (ID 0, direction = 1, sample rate = 48000, number of channels = 2)
12:55:34 [376] DEBUG /home/mooneer/freedv-gui/src/main.cpp:2782: fifoSize_ms: 440 infifo2: 1440000/outfilo2: 21120
12:55:34 [377] DEBUG /home/mooneer/freedv-gui/src/main.cpp:2793: fifoSize_ms: 440 infifo1: 1440000/outfilo1 21120
12:55:34 [378] DEBUG /home/mooneer/freedv-gui/src/main.cpp:2826: rxInFifoSizeSamples: 1280 rxOutFifoSizeSamples: 2240
12:55:34 [379] INFO /home/mooneer/freedv-gui/src/audio/WASAPIAudioDevice.cpp:83: Starting device with direction 0, sample rate 48000, num channels 1
12:55:34 [380] INFO /home/mooneer/freedv-gui/src/audio/WASAPIAudioDevice.cpp:172: Allocated 1056 frames for audio buffers
12:55:34 [381] INFO /home/mooneer/freedv-gui/src/audio/WASAPIAudioDevice.cpp:83: Starting device with direction 1, sample rate 48000, num channels 2
12:55:34 [382] INFO /home/mooneer/freedv-gui/src/audio/WASAPIAudioDevice.cpp:294: Starting render/capture thread
12:55:34 [383] INFO /home/mooneer/freedv-gui/src/audio/WASAPIAudioDevice.cpp:172: Allocated 1056 frames for audio buffers
12:55:34 [384] INFO /home/mooneer/freedv-gui/src/audio/WASAPIAudioDevice.cpp:83: Starting device with direction 0, sample rate 48000, num channels 1
12:55:34 [385] INFO /home/mooneer/freedv-gui/src/audio/WASAPIAudioDevice.cpp:294: Starting render/capture thread
12:55:34 [386] INFO /home/mooneer/freedv-gui/src/audio/WASAPIAudioDevice.cpp:172: Allocated 1056 frames for audio buffers
12:55:34 [387] INFO /home/mooneer/freedv-gui/src/audio/WASAPIAudioDevice.cpp:83: Starting device with direction 1, sample rate 48000, num channels 8
12:55:34 [388] INFO /home/mooneer/freedv-gui/src/audio/WASAPIAudioDevice.cpp:294: Starting render/capture thread
12:55:34 [389] ERROR /home/mooneer/freedv-gui/src/audio/WASAPIAudioDevice.cpp:116: Could not initialize AudioClient (hr = -
2147024809)
12:55:34 [390] ERROR /home/mooneer/freedv-gui/src/main.cpp:2867: Could not initialize AudioClient (hr = -
2147024809)
12:55:34 [391] INFO /home/mooneer/freedv-gui/src/audio/WASAPIAudioDevice.cpp:359: Stopping device with direction 0, sample rate 48000, num channels 1
12:55:34 [392] INFO /home/mooneer/freedv-gui/src/audio/WASAPIAudioDevice.cpp:333: Exiting render/capture thread
12:55:34 [393] INFO /home/mooneer/freedv-gui/src/audio/WASAPIAudioDevice.cpp:359: Stopping device with direction 1, sample rate 48000, num channels 2
12:55:34 [394] INFO /home/mooneer/freedv-gui/src/audio/WASAPIAudioDevice.cpp:333: Exiting render/capture thread
12:55:34 [395] INFO /home/mooneer/freedv-gui/src/audio/WASAPIAudioDevice.cpp:359: Stopping device with direction 0, sample rate 48000, num channels 1
12:55:34 [396] INFO /home/mooneer/freedv-gui/src/audio/WASAPIAudioDevice.cpp:333: Exiting render/capture thread
12:55:34 [397] INFO /home/mooneer/freedv-gui/src/audio/WASAPIAudioDevice.cpp:359: Stopping device with direction 1, sample rate 48000, num channels 8
12:55:34 [398] INFO /home/mooneer/freedv-gui/src/audio/WASAPIAudioDevice.cpp:359: Stopping device with direction 1, sample rate 48000, num channels 2
12:55:34 [399] DEBUG /home/mooneer/freedv-gui/src/main.cpp:2284: Stop .....