Skip to content

bluez5: sco-io: start writing only after the packet size is known

P V requested to merge pvir/pipewire:sco-io-mtu into master

The kernel-provided SCO write MTU is currently never the correct packet size for writing, so don't try to use it. Some adapter firmware (eg. BCM20702A0 0b05:17cb) appears in practice sensitive to the alignment of the msbc frames, and writes with wrong packet size break things but only on certain headsets. For other adapters, this doesn't appear to matter.

Maybe a msbc-alt1-bcm quirk should be added later, given that this adapter seems to work with headsets that don't work properly with the CSR/Realtek ones in ALT1 setting...

Edited by P V

Merge request reports