All of lore.kernel.org
 help / color / mirror / Atom feed
* [A2DP] - Try to write audio data to L2CAP socket and receive EAGAIN as return after scanning starts.
@ 2015-05-15  0:49 Miao-chen Chou
  0 siblings, 0 replies; only message in thread
From: Miao-chen Chou @ 2015-05-15  0:49 UTC (permalink / raw)
  To: linux-bluetooth

When playing with JBL charge 2 speaker, I found that the music
stutters badly whenever I start scanning, and it goes back to normal
after the scanning finishes. I am wondering if this is a bug in Bluez,
so I tried another speaker, Beats Pill, but it turns out that Pill
plays smoothly even if I start scanning.

Speakers:
- JBL charge 2 (A2DP/HSP/HFP)
- Beats Pill (A2DP/HSP)
Since I only use the speakers for audio output, A2DP profile was used.

Somehow L2CAP socket buffer has no space for the outgoing audio data
during scanning, so I keep getting EAGAIN error. My guess is that the
previous frames have been accumulated but never been consumed, but who
is blocking ACL for sending audio data?

Does anyone see this issue before?

Thanks,
-Miao

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-05-15  0:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-15  0:49 [A2DP] - Try to write audio data to L2CAP socket and receive EAGAIN as return after scanning starts Miao-chen Chou

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.