Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit 2063783effb3babadadc984ecb5cbd9274dadb17 1 parent 8f19c1f
Mark Kendall authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  mythtv/libs/libmythtv/tv_play.cpp
View
3  mythtv/libs/libmythtv/tv_play.cpp
@@ -7776,6 +7776,9 @@ void TV::ChangeVolume(PlayerContext *ctx, bool up)
return;
}
+ if (ctx->player->IsMuted())
+ ToggleMute(ctx);
+
uint curvol = ctx->player->AdjustVolume((up) ? +2 : -2);
ctx->UnlockDeletePlayer(__FILE__, __LINE__);
Please sign in to comment.
Something went wrong with that request. Please try again.