Closed OvoNemaSmisla closed 2 years ago
Could you post the result of bluealsa-aplay -l
. And preferably logs from bluealsa service (with debug enabled during configuration build stage).
We'll have to build with debug then.
Here is the bluealsa-aplay -l
:
osmc@osmc:~$ bluealsa-aplay -l
**** List of PLAYBACK Bluetooth Devices ****
hci0: 64:03:7F:56:E6:ED [Galaxy Buds+ (E6ED)], trusted audio-card
A2DP (AAC): S16_LE 2 channels 48000 Hz
**** List of CAPTURE Bluetooth Devices ****
The strange thing is that the HFP/HSP profile is not connected. Or maybe you have it disabled in bluealsa (e.g launching bluealsa only with -p a2dp-source
)? If you've got bluealsa-cli
installed, please, try something like this:
# convert some audio to raw format, e.g.:
# ffmpeg -i <input-audio> -acodec pcm_s16le -f s16le -ac 2 -ar 48000 output.pcm
bluealsa-cli list-pcms
cat output.pcm | bluealsa-cli open <pcm-path>
This should play audio directly via bluealsa service omitting other components (i.e. ALSA).
User has got it working now. Heisenbug. And yes, we don't enable SCO.
Thanks for the rapid response. The thing is, the only change we made in the latest OSMC release was to add the automatic connection node:
osmc@vero4kp2:/usr/share/alsa/alsa.conf.d$ cat 21-bt-audio-osmc.conf
## Do not modify this file - it may be overwritten in a future update
## Use ~/.asoundrc for customisations
pcm.btaudio {
type plug
slave.pcm {
type bluealsa
device "00:00:00:00:00:00"
profile "a2dp"
}
hint { show on description "Bluetooth Audio"}
}
We were already running 3.1.0 with users writing their own .asoundrc. @OvoNemaSmisla was fine with that. Is there any way using the conf node above differs from using explicit device nodes?
explicit device nodes
What do you mean by that? The node which uses real BT address instead of "00:00:00..."?
The node which uses real BT address instead of "00:00:00..."?
Yes. One node for each device.
The only difference is that this configuration will (shall) use lastly connected BT device, that's all. Other than that is should be the same. But maybe there is some bug in there....
Hmmm. Thanks. Now it seems these buds work fine as long as you just allow them to connect as 'trusted'. User was attempting connection from the source.
I can confirm it works fine if the buds connect automatically.
Hi,
I'm running the latest version of OSMC on raspberry pi 3 model B. I've been using without problems 2 bluetooth earbuds: ENACFIRE Future and Galaxy Buds+. After the previous update, Galaxy Buds+ don't work.
I'm able to connect to them:
My .asoundrc looks like this:
I've tried the follwoing:
And tested with
speaker-test -D galaxybuds -c 2 -p 1 -t wav -l 3
:On the other hand, ENACFIRE Future works without problems.