volume, mixer: removed the "relative" parameter

Since the "volume" command has been removed, nobody uses relative
volumes anymore.
This commit is contained in:
Max Kellermann
2009-07-06 21:51:24 +02:00
parent 206392ad1a
commit 90472526e0
5 changed files with 26 additions and 41 deletions

View File

@@ -1061,7 +1061,7 @@ handle_setvol(struct client *client, G_GNUC_UNUSED int argc, char *argv[])
if (!check_int(client, &level, argv[1], need_integer))
return COMMAND_RETURN_ERROR;
success = volume_level_change(level, 0);
success = volume_level_change(level);
if (!success) {
command_error(client, ACK_ERROR_SYSTEM,
"problems setting volume");