Closed janui closed 1 week ago
I see something similar with an intel PCH card.
@arkq I think this is caused by a typo in commit 0d488c7b utils/aplay/aplay.c, line 458:
for (size_t i = 1; i < ba_pcm->channels; i++) {
should be
for (size_t i = 0; i < ba_pcm->channels; i++) {
Something is not right with the volume indeed, but I had no time to investigate that yet. My case is that bluealsa-aplay sets the volume lower and lower every playback stop/start. I'm not sure whether that is the same case.
This start on 1 instead on 0 definitely looks like a typo! I'm off the computer right now, but I will look at it today evening or tomorrow.
There's another problem with volume control, but it appears to be bluez related. With bluez 5.79 (just released yesterday) AVDTP absolute volume no longer works; it is OK with bluez 5.78 and earlier. I will try to determine which commit introduced this failure, but not until much later next week.
@janui you should be OK with bluez 5.66. If you are building bluez-alsa from source, could you try the one-line change in the comment above to see if it fixes your issue?
@janui I've just pushed borine's patch to master, please try it and let us know whether your issue is fixed by that.
There's another problem with volume control, but it appears to be bluez related.
Yes, I've observed that too, but also had no time to bisect bluez to find exact commit. The problem with absolute volume might be cause by https://github.com/bluez/bluez/commit/923379409010602254233103689c8ed2ff2a6cc6 and/or https://github.com/bluez/bluez/commit/8baabd2f5c131f902d79e20829b117edffd46d1a
@arkq, Our package builder specialist will built it during the next week. I will retest when available.
I'm closing this issues as it seems that the bug was fixed. If during the retest you will still see volume setting problems, please reopen this issue.
Also thanks to borine the bug in BlueZ was fixed too (will be available in the next release): https://github.com/bluez/bluez/commit/de1b3a5ac3991f5cfb9278c2887c0be2b71dc58b
Problem
Bluetooth input (source) incorrectly setting alsa output volume
Reproduction steps
Setup