-
Notifications
You must be signed in to change notification settings - Fork 189
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Volume not updating with bluealsa plugin #733
Comments
It seems that you are trying to use
It looks like something is not right with the sink device (speaker/earbuds) then. Alternatively try different versions of BlueZ (maybe there is some bug in BlueZ). If nothing helps, in order to get better user experience with such devices, you will have to switch to software volume. Add |
@arkq Thanks for the response. |
This will use software volume scaling only (on BlueALSA side).
If you speaker has some buttons, then you can have (probably not desired, due to double scaling) possibility to scale volume on the speaker side too. Also, you might try adjusting the D-Bus Volume property of acquired media transport, e.g.: |
I tested with BlueZ version 5.72, which is already quite recent. Is there still a need to update BlueZ? I also verified the same behavior using other third-party Bluetooth audio sources. They are able to control the volume immediately upon connecting to the same Realme Buds and JBL speakers. I'm not certain which audio server they are using to stream audio to the external speaker. |
Problem
When our DUT acts as A2DP source and connects then streams audio to external BT speaker using bluealsa plugin. With some model of speakers like realme buds headsets and JBL speakers, when we start to steam audio we could not control volume at initial. later like after 15 to 20 seconds we could able to control the volume of external BT speaker through MediaTransport volume property.
I have tried with the latest master branch when we try to get bluealsa PCM it throws error "ALSA lib bluealsa-pcm.c:1638:(_snd_pcm_bluealsa_open) Couldn't get BlueALSA PCM: Get PCM: Get properties: Incorrect variant for 'Volume': q != a"
Reproduction steps
Setup
OS ver: Linux username 5.4.210 #2 SMP PREEMPT Thu Oct 17 10:18:00 IST 2024 aarch64 GNU/Linux
bluealsa ver: v4.1.1
bluetoothd ver: v5.72
aplay: version 1.2.1 by Jaroslav Kysela [email protected]
Additional context
whenever we get volume update issue once started the streaming, that time we get this error print from bluez
The text was updated successfully, but these errors were encountered: