balena-io-experimental / audio

Audio building block for balenaOS, based on pulseaudio.
https://hub.balena.io/blocks
31 stars 13 forks source link

bluetooth: choppy/stuttery audio when starting playback #17

Open tmigone opened 4 years ago

tmigone commented 4 years ago

Description

Steps to reproduce Could not isolate a reproducible scenario but encountered this a few times with my Android phone. I suspect it's related to one of the following:

tmigone commented 4 years ago

This error might be related, though it always shows up (not only when the issue manifests).

D: [pulseaudio] bluez5-util.c: Properties changed in device /org/bluez/hci0/dev_40_4E_36_42_9A_36
D: [pulseaudio] backend-native.c: dbus: path=/Profile/HSPHSProfile, interface=org.bluez.Profile1, member=NewConnection
D: [pulseaudio] backend-native.c: dbus: NewConnection path=/org/bluez/hci0/dev_40_4E_36_42_9A_36, fd=15, profile headset_audio_gateway
E: [pulseaudio] backend-native.c: socket(SEQPACKET, SCO) Address family not supported by protocol
D: [pulseaudio] bluez5-util.c: Transport /org/bluez/hci0/dev_40_4E_36_42_9A_36/fd15 state: disconnected -> idle
D: [pulseaudio] backend-native.c: Transport /org/bluez/hci0/dev_40_4E_36_42_9A_36/fd15 available for profile headset_audio_gateway
D: [pulseaudio] bluez5-util.c: Unknown interface org.freedesktop.DBus.Introspectable found, skipping
D: [pulseaudio] bluez5-util.c: Unknown interface org.bluez.MediaTransport1 found, skipping
D: [pulseaudio] bluez5-util.c: Unknown interface org.freedesktop.DBus.Properties found, skipping
D: [pulseaudio] bluez5-util.c: dbus: path=/MediaEndpoint/A2DPSink, interface=org.bluez.MediaEndpoint1, member=SetConfiguration
D: [pulseaudio] bluez5-util.c: Transport /org/bluez/hci0/dev_40_4E_36_42_9A_36/fd4 available for profile a2dp_source
D: [pulseaudio] bluez5-util.c: Unknown interface org.freedesktop.DBus.Introspectable found, skipping
D: [pulseaudio] bluez5-util.c: Unknown interface org.bluez.MediaPlayer1 found, skipping
D: [pulseaudio] bluez5-util.c: Unknown interface org.freedesktop.DBus.Properties found, skipping
D: [pulseaudio] bluez5-util.c: Timeout expired, and device /org/bluez/hci0/dev_40_4E_36_42_9A_36 still has disconnected profiles: headset_head_unit
tmigone commented 4 years ago

Usually stopping and starting the playback solves the problem