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:
Wim Taymans 2026-01-27 10:17:34 +01:00
parent ed59342d28
commit 2aecb49f50

View file

@ -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;
}