Set fldigi's sound card in radio configure

fldigi gets PortAudio as its audio system, with the radio's card for
capture and playback. It opens devices by name, so radio lists PortAudio's
devices through the system library, as fldigi does, and picks PipeWire's
names for the card (through PortAudio's JACK support) where just one
device has them, or else ALSA's, with the card's number. Devices that are
unset, a default, or the same card under an old number are replaced; a
device you chose, or fldigi on PulseAudio or OSS, is left alone unless
--force.

not1mm now uses the same device list, instead of asking its own Python's
sounddevice, which reads the same library. POTACAT is the only program
whose sound card is left for you to choose.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
David Young
2026-11-28 13:19:04 -07:00
co-authored by Claude Opus 5.5
parent c2cb2bc2f4
commit 8020cdc061
5 changed files with 194 additions and 79 deletions
+6 -2
View File
@@ -66,8 +66,12 @@ Dire Wolf, not1mm, QLog and POTACAT quit:
6. Open fldigi (after running it once, so it has settings). Configure >
Rig Control > Hamlib shows rig control on, "Hamlib NET rigctl",
127.0.0.1:4532 and "PTT via Hamlib command". The frequency follows the
radio, and T/R keys it. The settings were checked against fldigi 4.1's
source; Arch has 4.2, so note anything it doesn't pick up.
radio, and T/R keys it. Configure > Soundcard > Devices shows PortAudio,
with the radio's card for capture and playback (PipeWire's names, under
"JACK Audio Connection Kit devices", if PipeWire's JACK support is
installed), and the waterfall shows the band. The settings were checked
against fldigi 4.1's source; Arch has 4.2, so note anything it doesn't
pick up.
7. Run Dire Wolf with `direwolf -c ~/.local/state/HamPack/conf.d/direwolf.conf`.
It should open plughw:CARD=...,DEV=0 and not complain about
"PTT RIG 2 127.0.0.1:4532". If it says RIG needs hamlib support, its