mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
bluetooth: restore default of 'enable_native_hfp_hf'
Default value of 'enable_native_hfp_hf' seems to be inadvertently
changed from "when using only native backend" to "always" in commit
fec9eb178d ("bluetooth: disable HSP HS profile by default"). This is
due to a second default overwriting the first default set above
(presumably because it's in a different place from other arguments'
defaults).
Remove the second default and move the first default to its place, in
line with other arguments' defaults.
This commit is contained in:
parent
3e2bb8a1ec
commit
8ed5ef7d65
1 changed files with 1 additions and 4 deletions
|
|
@ -147,9 +147,6 @@ int pa__init(pa_module *m) {
|
|||
goto fail;
|
||||
}
|
||||
|
||||
/* default value if no module parameter */
|
||||
enable_native_hfp_hf = (headset_backend == HEADSET_BACKEND_NATIVE);
|
||||
|
||||
autodetect_mtu = false;
|
||||
if (pa_modargs_get_value_boolean(ma, "autodetect_mtu", &autodetect_mtu) < 0) {
|
||||
pa_log("Invalid boolean value for autodetect_mtu parameter");
|
||||
|
|
@ -158,7 +155,7 @@ int pa__init(pa_module *m) {
|
|||
if (pa_modargs_get_value_boolean(ma, "enable_msbc", &enable_msbc) < 0) {
|
||||
pa_log("Invalid boolean value for enable_msbc parameter");
|
||||
}
|
||||
enable_native_hfp_hf = true;
|
||||
enable_native_hfp_hf = (headset_backend == HEADSET_BACKEND_NATIVE);
|
||||
if (pa_modargs_get_value_boolean(ma, "enable_native_hfp_hf", &enable_native_hfp_hf) < 0) {
|
||||
pa_log("enable_native_hfp_hf must be true or false");
|
||||
goto fail;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue