[pulseaudio-discuss] [PATCH v13 06/10] bluetooth: Add A2DP FastStream codec support

Pali Rohár pali.rohar at gmail.com
Sat Dec 7 17:49:18 UTC 2019


On Saturday 07 December 2019 18:39:20 Georg Chini wrote:
> > > Otherwise 44k1 could be chosen falsely here if
> > > the headset
> > > again sends both frequencies.
> > Remote side here send all supported frequencies. If there are more
> > frequencies we choose just one which we want to use and then send it to
> > remote side to inform which we have chosen. We must send exactly one
> > frequency to remote side.
> > 
> But wasn't it the case, that if both frequencies are sent, 44k1 does not
> work?

No, bug is different. Tested buggy headset supports both frequencies.
And if you negotiate 44.1kHz it works fine.

Bug is that headset returned in config buffer two frequences which is
invalid -- config buffer must contain only one frequency. Headset in
config buffer announce what is the final frequency used in audio stream
which is going to start transmitting. And by observation I figured out
that always when headset put both frequencies in config buffer it
starts transmitting audio stream at 48kHz.

-- 
Pali Rohár
pali.rohar at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20191207/a1b85524/attachment.sig>


More information about the pulseaudio-discuss mailing list