mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-02-05 04:06:37 -05:00
pulse-server: use null to clear the value
The message makes it seem that you can pass 'clear' to clear the setting but in fact you should pass 'null'.
This commit is contained in:
parent
ed59342d28
commit
2aecb49f50
1 changed files with 2 additions and 2 deletions
|
|
@ -120,7 +120,7 @@ static int core_object_force_mono_output(struct client *client, const char *para
|
|||
METADATA_FEATURES_AUDIO_MONO, NULL, NULL);
|
||||
client->force_mono_audio = client->default_force_mono_audio;
|
||||
} else {
|
||||
fprintf(response, "Value must be true, false, or clear");
|
||||
fprintf(response, "Value must be true, false, or null");
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
|
|
@ -162,7 +162,7 @@ static int core_object_bluetooth_headset_autoswitch(struct client *client, const
|
|||
METADATA_BLUETOOTH_HEADSET_AUTOSWITCH, NULL, NULL);
|
||||
client->bluetooth_headset_autoswitch = client->default_bluetooth_headset_autoswitch;
|
||||
} else {
|
||||
fprintf(response, "Value must be true, false, or clear");
|
||||
fprintf(response, "Value must be true, false, or null");
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue