-
At OSMC we are updating to bluealsa 4.1.0 from 3.1.0. Thank you, guys for the continual improvements! For testing I'm sending audio between two OSMC-powered devices so I can test all codecs. There's something wrong with the clocking - I'm getting bursts of double-speed audio instead of everything at the correct speed. Note that both devices work as expected with my BT speaker (AAC only) and streaming AAC or AptX from my phone. Bluealsa is compiled with all codecs except LDAC from 165e15b. To keep it simple, both devices have bluealsa started without the extra a2dp codecs: On the source device I see this:
On the sink device I see:
20-bluealsa.conf is from your template Any suggestions to fix? |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 55 replies
-
Does both devices use the same version of BlueALSA?
OK, I'll look into this. It looks like an issue with sampling frequency.... dunno.
Are you using the same configuration of BlueZ on both devices? In older versions of BlueZ in order to get SEP support one has to enable experimental features. |
Beta Was this translation helpful? Give feedback.
-
I think the "chipmonk" effect may be a problem with bluealsa-aplay. I don't normally use AAC, but I've just set up a test system, bluealsa <-> bluealsa with AAC and aptX enabled on both. When first connected, aptX is selected and playback is fine. If I then change to AAC, playback is at half-speed. But if I stop and re-start bluealsa-aplay then playback is as the correct speed. Chnaging codec to aptX and playback is now at double speed "chipmonk". i note that AAC is sampled at 96000 and aptX at 48000. So my initial conclusion is that bluealsa-aplay does not handle the rate change correctly. One difference here though is that |
Beta Was this translation helpful? Give feedback.
-
bluez-alsa commit e6218b5 in the master branch has now fixed the chipmunk sound (many thanks to @arkq for dealing with this so quickly). As for the |
Beta Was this translation helpful? Give feedback.
-
Thanks for the commit. So I updated both devices to e6218b5. Connected them, but I'm now getting this on the source device:
Bluez is 5.62-3. Any thoughts? |
Beta Was this translation helpful? Give feedback.
-
OK, I couldn't find any significant differences between 3.1.0 and 4.1.0 on the issues discussed here. I have now updated both devices to bluez 5.66 and launched bluez-alsa with only the default codecs as my first post. I'm getting proper sound but I'm not getting AAC selected. I see this on the source:
And this on the sink:
The delay now seems more stable. |
Beta Was this translation helpful? Give feedback.
-
That version number looks iffy. It may be because your build did not refresh the m4 cache after running |
Beta Was this translation helpful? Give feedback.
-
Closing this as the chipmunk problem was fixed with 4.1.1 and the threads in here have become unnavigable (thank you github). There are still some oddities with bluealsa-cli which I'll open a new issue for. |
Beta Was this translation helpful? Give feedback.
Closing this as the chipmunk problem was fixed with 4.1.1 and the threads in here have become unnavigable (thank you github). There are still some oddities with bluealsa-cli which I'll open a new issue for.