« first day (3 days earlier)      last day (16 days later) » 

07:50
"Output card"... More of this "audio jargon" that I know nothing of :) I'd just sat down & began puzzling over this latest issue - didn't even know what to call it. I think your link does help. If I get the gist of the material in that link, I must now tell PulseAudio which "card" to send the music stream to - and that "card" should be Bluetooth-based?? I imagine I will also need to give my player (mpg321) some directions also - perhaps a PulseAudio entity??
@ukBaz: I've run pacmd list-sinks and pacmd list-cards just now. It's a rather extensive output, but both suggest that "bcm2835 Headphones" is my only option. In other words, I see nothing about "Bluetooth". I can imagine this is due to fact that the speaker is off/not connected now?
Oh - I just recalled something: Here in chat, you will need to put the @usernm in the message, or the recipient doesn't get notification
@ukBaz: Ah! Just turned my BT speaker on. bluetoothctl reported it connected immediately. THen, ran pacmd list-cards, and now I have two "cards" w/ the second one being name: <bluez_card.B8_F6_53_12_13_F1> aka JBL Flip 5 :) This has got to be a "good sign" lol
08:26
@ukBaz: The Arch page you linked is very current, based on the last rev date, but I see something in the file /etc/pulse/default.pa that seems off-kilter: The Arch site uses a line like this to set the default output sink profile: set-card-profile, but the file on my RPi system shows this as the last line: #set-default-sink output.
But surely there's some way to get this to work without all of this configuration (at least temporarily)? I'd like to test things before making changes to a config file...
pi@raspberrypi4b:~ $ pacmd list-cards
2 card(s) available.
index: 0
name: <alsa_card.platform-bcm2835_audio>
driver: <module-alsa-card.c>
owner module: 6
properties:
alsa.card = "0"
alsa.card_name = "bcm2835 Headphones"
alsa.long_card_name = "bcm2835 Headphones"
alsa.driver_name = "snd_bcm2835"
device.bus_path = "platform-bcm2835_audio"
sysfs.path = "/devices/platform/soc/fe00b840.mailbox/bcm2835_audio/sound/card0"
device.form_factor = "internal"
device.string = "0"
device.description = "Built-in Audio"
Ugh! this chat interface is crude. Was going to post up a portion of this output, but edits are only allowed for about 10 seconds it seems!
So - the is the pacmd list-cards output in its entirety!
09:15
@Seamus on that page is says:
For temporary use

$ pacmd "set-default-source alsa_output.pci-0000_04_01.0.analog-stereo.monitor"
My assumption is that you replace the:
alsa_output.pci-0000_04_01.0.analog-stereo.monitor
With:
alsa_card.platform-bcm2835_audio
Or something. You will have to experiment
09:30
Reading the thread again, the value is more likely to be "bluez_card.B8_F6_53_12_13_F1"
 
12 hours later…
21:16
@ukBaz: Monumental!
pi@raspberrypi4b:~ $ pacmd "set-default-source bluez_card.B8_F6_53_AE_13_F1"
Source bluez_card.B8_F6_53_AE_13_F1 does not exist.
pi@raspberrypi4b:~ $ pacmd list-sources | grep -e 'index:' -e device.string -e 'name:'
index: 0
name: <alsa_output.platform-bcm2835_audio.analog-mono.monitor>
device.string = "0"
* index: 4
name: <bluez_sink.B8_F6_53_AE_13_F1.a2dp_sink.monitor>
device.string = "B8:F6:53:AE:13:F1"
pi@raspberrypi4b:~ $ pacmd "set-default-source bluez_sink.B8_F6_53_AE_13_F1.a2dp_sink.monitor"
SUCCESS!
21:36
Apparently list-cards and list-sources give different results for name
21:47
pi@raspberrypi4b:~ $ pacmd list-cards | grep -e 'index:' -e device.string -e 'name:'
index: 0
name: <alsa_card.platform-bcm2835_audio>
device.string = "0"
index: 4
name: <bluez_card.B8_F6_53_AE_13_F1>
device.string = "B8:F6:53:AE:13:F1"
pi@raspberrypi4b:~ $ pacmd list-sources | grep -e 'index:' -e device.string -e 'name:'
index: 0
name: <alsa_output.platform-bcm2835_audio.analog-mono.monitor>
device.string = "0"
* index: 4
name: <bluez_sink.B8_F6_53_AE_13_F1.a2dp_sink.monitor>
device.string = "B8:F6:53:AE:13:F1"
This is unfit for human consumption! :)

« first day (3 days earlier)      last day (16 days later) »