Skip to content
Browse files

TV: Ummute sound if volume is adjusted.

This avoids potential confusion if the sound is muted and changing the
volume then does nothing - leading the user to think there is a problem
with the sound. An entirely un-scientific survey of 3 TVs and a couple
of STBs seems to suggest this is more or less standard behaviour.
  • Loading branch information...
1 parent 8f19c1f commit 2063783effb3babadadc984ecb5cbd9274dadb17 Mark Kendall committed
Showing with 3 additions and 0 deletions.
  1. +3 −0 mythtv/libs/libmythtv/tv_play.cpp
3 mythtv/libs/libmythtv/tv_play.cpp
@@ -7776,6 +7776,9 @@ void TV::ChangeVolume(PlayerContext *ctx, bool up)
+ if (ctx->player->IsMuted())
+ ToggleMute(ctx);
uint curvol = ctx->player->AdjustVolume((up) ? +2 : -2);
ctx->UnlockDeletePlayer(__FILE__, __LINE__);

0 comments on commit 2063783

Please sign in to comment.
Something went wrong with that request. Please try again.