mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-07 13:30:03 -05:00
bluetooth: Make use of getsockopt() to determine MTU configurable
A recent patch changed the MTU size from the default value of 48 to the value returned by getsockopt(). This breaks HSP for some setups. To circumvent the problem, this patch introduces a boolean parameter "autodetect_mtu" for module-bluetooth-discover, module-bluez5-discover and module-bluez5-device to make this use of getsockopt() configurable.
This commit is contained in:
parent
ca6c3f80f5
commit
1c80af147d
5 changed files with 38 additions and 13 deletions
|
|
@ -33,6 +33,7 @@ PA_MODULE_VERSION(PACKAGE_VERSION);
|
|||
PA_MODULE_LOAD_ONCE(true);
|
||||
PA_MODULE_USAGE(
|
||||
"headset=ofono|native|auto (bluez 5 only)"
|
||||
"autodetect_mtu=<boolean> (bluez 5 only)"
|
||||
);
|
||||
|
||||
struct userdata {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue