[A2DP] - Try to write audio data to L2CAP socket and receive EAGAIN as return after scanning starts.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux