[speaker] Fix the fall through warning in the media player turn off command (#19987)

This commit is contained in:
J. Nick Koston
2026-10-01 13:34:43 -05:00
committed by GitHub
parent e9f0a53ec9
commit 2de4f4cf81
@@ -224,7 +224,7 @@ void SpeakerMediaPlayer::watch_media_commands_() {
break;
case media_player::MEDIA_PLAYER_COMMAND_TURN_OFF:
this->is_turn_off_ = true;
// Intentional Fall-through
[[fallthrough]];
#endif
case media_player::MEDIA_PLAYER_COMMAND_STOP:
// Pipelines do not stop immediately after calling the stop command, so confirm its stopped before unpausing.