diff options
author | deva <deva> | 2005-11-16 11:53:21 +0000 |
---|---|---|
committer | deva <deva> | 2005-11-16 11:53:21 +0000 |
commit | 32183390270df57a49d932b9fe51012146ce154f (patch) | |
tree | 2b5095cb11412e29e612a26b3feb7ed5dc8e9cb5 /src/player.cc | |
parent | 2ec93410616c86a3fd0e4464d34c4b5da77b13d5 (diff) |
*** empty log message ***
Diffstat (limited to 'src/player.cc')
-rw-r--r-- | src/player.cc | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/player.cc b/src/player.cc index 58d3897..e57211d 100644 --- a/src/player.cc +++ b/src/player.cc @@ -79,6 +79,9 @@ Player::Player(Info *ginfo, recording = false; recording_prev = !recording; cprchanged = false; + + muted = false; + muted_prev = !muted; } Player::~Player() @@ -205,7 +208,10 @@ void Player::player() pitches); // Set status text - yuv_draw->mute(true); + // if(muted != muted_prev) { + yuv_draw->mute(muted); + // muted_prev = muted; + // } if(recording != recording_prev) { if(recording) yuv_draw->setTopText(TEXT_RECORDING); else yuv_draw->setTopText(TEXT_STOPPED); @@ -308,4 +314,9 @@ void Player::stoprecord() recording = false; } +void Player::setMute(bool m) +{ + muted = m; +} + #endif /* USE_GUI */ |