audio messages: rename MUTE->MUTE_TOGGLE

* the MUTE commands are actually mute-toggle
This commit is contained in:
Martin Pulec
2023-09-25 14:31:37 +02:00
parent 9c015f96ad
commit 8a50ff4d2e
5 changed files with 10 additions and 10 deletions

View File

@@ -313,7 +313,7 @@ process_audio_message(struct module *root_module, const char *cmd)
strncpy(path, "audio.receiver", sizeof path);
auto *msg = (struct msg_receiver *) new_message(
sizeof(struct msg_receiver));
msg->type = RECEIVER_MSG_MUTE;
msg->type = RECEIVER_MSG_MUTE_TOGGLE;
return send_message(root_module, path, (struct message *) msg);
}
if (prefix_matches(cmd, "volume ")) {