Dave, I returned to the Portsdown project this week.
I am using the "
3D Sound" USB dongle. For Langstone, I have amended the
Lang_RX.py and
Lang_TX.py files by running
set_sound and selecting
hw:CARD=Set,DEV=0. Langstone gives sound via the dongle OK.
I upgraded
Portsdown to version
2021022250. I executed
arecord -l as you suggested. This gave:
card1: Set [C-Media USB Headphone Set],device 0:USB Audio [USB Audio]
subdevices: 1/1
Subdevice #0: subdevice #0
In
lmvlcff.sh as you suggested (ine 57 on my editor) I found:
if [ s? == 0]; then
AUDIO_DEVICE="hw:CARD=headphones,DEV=0"
I amended the
then clause of the nested
if statement,
replacing
CARD=headphones with
CARD=Set.
On re-booting Langstone, I got sound through the USB dongle from LongMynd. So now both Langstone and Portsdown output sound via the
"3D Sound" dongle. Then I realised that I'd left
Audio Out = RPiJack in
Config; this is literally wrong, but the USB sound works, so it is right as far as I am concerned!
Thank you for your help.
I wonder what the
ALSA device in the
else clause refers to?
73 Graham