Comments (12)
Looks like it's mine personal issue because of 3rd-party aptx libs, isn't ?
It might be.
Actually the same error "Synchronization error" printed when I use https://github.com/Magisk-Modules-Repo/aptx on my Oneplus 2, LineageOS 16; But without any issue on my Oneplus 6t which has official aptX/aptX HD support.
Look into ffmpeg aptX source, "Synchronization error" stands for a bad aptx frames data.
The 3rd-party libs might don't have ability to handle UI tones that break aptx frames data.
from pulseaudio-modules-bt.
I have pushed bff80fd
That might fix this issue
from pulseaudio-modules-bt.
First of all thanks for fast response, and fix. Trying it out.
No more errors with playing music/video for now.
Still problems with music/video , every videos from this playlist is starting with errors, after 3-5 repeats of pause/play it's starting to play. If it had to pause at some point and rebuff - again errors.
The only way to "fix": pause, wait for all error messages printed out, play music. If there is more errors - repeat.
But..
[aptx_hd @ 0x5567b5358680] Synchronization error
D: [bluetooth] a2dp_aptx.c: Error submitting the packet to the decoder
Appears at UI "clicks", at DTMF tones when trying to dial number, at Volume up/down sounds, Power on/ off screen. Lets say all UI sounds is producing this error.
A little overpass for me now it's to mute UI sounds :)
Looks like it's mine personal issue because of 3rd-party aptx libs, isn't ?
from pulseaudio-modules-bt.
Indeed, tried another lib. And it's working like yours.
Some random Sync errors ,at least it doesn't "stuck" on it.
I got everything work, UI sounds, video and audio on Raspberry PI.
Thank you very much ;)
from pulseaudio-modules-bt.
Hi!
I have the exact same issue. I'm also trying to use a Raspberry Pi for bluetooth sink with aptX-HD. I'm getting a lot of Synchronization error.
[aptx_hd @ 0x1444c70] Synchronization error
[aptx_hd @ 0x1444c70] Synchronization error
[aptx_hd @ 0x1444c70] Synchronization error
[aptx_hd @ 0x1444c70] Synchronization error
[aptx_hd @ 0x1444c70] Synchronization error
[aptx_hd @ 0x1444c70] Synchronization error
I: [alsa-sink-bcm2835 ALSA] module-loopback.c: Could not peek into queue
I: [alsa-sink-bcm2835 ALSA] module-loopback.c: Could not peek into queue
[aptx_hd @ 0x1444c70] Synchronization error
I: [alsa-sink-bcm2835 ALSA] module-loopback.c: Could not peek into queue
[aptx_hd @ 0x1444c70] Synchronization error
[aptx_hd @ 0x1444c70] Synchronization error
I: [alsa-sink-bcm2835 ALSA] module-loopback.c: Could not peek into queue
[aptx_hd @ 0x1444c70] Synchronization error
I: [alsa-sink-bcm2835 ALSA] module-loopback.c: Could not peek into queue
The most interesting thing is that on my laptop (also as a sink) with the same code and with (almost) the same libavcodec version it works just perfectly fine. With ZERO error messages in the log.
I suspect that the error message comes from the 1039. line of libavcodec's aptx.c. But I assume the problem isn't in libavcodec.
I would really really appreciate the help because I spent almost 3 days on this issue already. It would be a waste...
My setup:
- Asus Zenfone 5Z (it has official support for AptX-HD and AAC)
- Android 9
- Bluetooth 5.0
- Raspberry Pi 3 B (with official PSU)
- Bluetooth 4.1
- Laptop: Asus N550JK (Intel Core I7 4700HQ version)
- Ubuntu 19.04
- Bluetooth 4.0
- libavcodec-dev:armhf (7:4.1.4-1+rpt1~deb10u1)
- pulseaudio-modules-bt version is the currently most recent 3ecf1d7
- pulseaudio version is pulseaudio 12.2-dirty (git: ee910cf6d) (because with the current master I couldn't get it work at all)
from pulseaudio-modules-bt.
I think I found the solution: https://hackaday.io/project/165208-an-old-rotary-phone-as-bluetooth-set/log/162491-setting-up-the-bluetooth
changing imtu making it more stable. no more Sync errors when changing tracks.
from pulseaudio-modules-bt.
75af499 enable autodetect_mtu
by default, hope it helps
from pulseaudio-modules-bt.
75af499 enable
autodetect_mtu
by default, hope it helps
Thank you for quick response :)
I would say it's working, but only for playing music when you stays only at APTX-HD profile(+notifications sound)
But if you receive call ,profile changing to HSP/HFP. After a call it's trying to switch back to APTX-HD and then it's falling to alot of Sync errors.
Overall playing music over APTX-HD became more stable, no more skips/silence/hanging up. Overall playback latency stable at 195-200ms (before it was very random 180-500ms)
I will continue trying figure out this behavior and what making it. Maybe it's my personal issue :)
from pulseaudio-modules-bt.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
from pulseaudio-modules-bt.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
from pulseaudio-modules-bt.
Maybe it can be fixed by switching to libopenaptx.
from pulseaudio-modules-bt.
This project has been deprecated. #154
There will be no bug fixing commits anymore.
from pulseaudio-modules-bt.
Related Issues (20)
- ffmpeg_libs.c: Cannot open libavcodec library: libavcodec.so.58. /lib/i386-linux-gnu/libxvidcore.so.4: cannot make segment writable for relocation: Operation not permitted HOT 3
- Support for 2 SBC profiles HOT 2
- [Question] How to change LDAC bit rate or force highest abrQualityModeID HOT 2
- [BUG] bluetooth HSP/HFP does not work with autodetect_mtu=1 HOT 3
- [BUG] Can't build with libpulse/pulseaudio v13.99.3 HOT 2
- Module settings ignored? Cannot connect Bose 700 in Dual Channel SBC HD/XQ mode. HOT 4
- Incompatible with pulseaudio 14.0 release HOT 2
- Packaging issue? Cannot install on Fedora Silverblue 33 using RPM Fusion 33? HOT 2
- [BUG] Only SBC Available on WH-1000xm3 HOT 1
- unsupported codecs on QCC3020 device HOT 5
- [BUG] unable to create file src/modules/alsa/mixer/samples/USB Device 0x46d:0x9a4--USB Mixer: Invalid argument HOT 2
- Get it into official repositories HOT 4
- Pipewire coming to Fedora HOT 10
- Donations HOT 1
- Support for changing AAC frequency cutoff HOT 1
- Errors when trying to use SBC HOT 1
- [BUG] HOT 1
- [BUG] error: pathspec 'v14.0' did not match any file(s) known to git HOT 2
- [BUG] Can no longer switch from HFP/HSP to any other profile HOT 1
- Deprecation Announcement HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pulseaudio-modules-bt.