I'm trying to run direwolf (1.6.0) on Fedora 38. I'm using a C-Media USB audio device to interface with the radio:
Bus 003 Device 008: ID 0d8c:0014 C-Media Electronics, Inc. Audio Adapter (Unitek Y-247A)
I can successfully aplay
sounds to that device without a problem (or set it up as the default audio output on my system, etc).
I have the following direwolf configuration:
ADEVICE plughw:4,0
ACHANNELS 1
ARATE 48000
CHANNEL 0
PTT RIG 2 127.0.0.1:4532
Reception works just fine, but sending seems terribly broken: direwolf is able to successfully send a single packet, but subsequent transmissions result in:
Audio output start error.
Bad address
Error preparing after bad state: Bad address
Error preparing after bad state: Bad address
Error preparing after bad state: Bad address
Error preparing after bad state: Bad address
Error preparing after bad state: Bad address
Error preparing after bad state: Bad address
Error preparing after bad state: Bad address
Error preparing after bad state: Bad address
Error preparing after bad state: Bad address
Error preparing after bad state: Bad address
Audio write error retry count exceeded.
And once these errors show up, it's no longer possible to transmit anything; every attempt results in the same error message.
I'm hoping someone here can help identify the source of the problem. Thanks!