mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-05 13:29:57 -05:00
dbus: Fix log message after volume changes.
This commit is contained in:
parent
9b8f20f617
commit
44e4709871
1 changed files with 1 additions and 1 deletions
|
|
@ -379,7 +379,7 @@ static void handle_set_volume(DBusConnection *conn, DBusMessage *msg, DBusMessag
|
||||||
|
|
||||||
for (i = 0; i < n_volume_entries; ++i) {
|
for (i = 0; i < n_volume_entries; ++i) {
|
||||||
if (!PA_VOLUME_IS_VALID(volume[i])) {
|
if (!PA_VOLUME_IS_VALID(volume[i])) {
|
||||||
pa_dbus_send_error(conn, msg, DBUS_ERROR_INVALID_ARGS, "Too large volume value: %u", volume[i]);
|
pa_dbus_send_error(conn, msg, DBUS_ERROR_INVALID_ARGS, "Invalid volume: %u", volume[i]);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
new_vol.values[i] = volume[i];
|
new_vol.values[i] = volume[i];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue