From 408cd963326be32a5716c521efbe4e206f503eda Mon Sep 17 00:00:00 2001 From: satbaby Date: Fri, 11 Mar 2011 10:45:46 +0000 Subject: [PATCH] revert to rev1282 git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1284 e54a6e83-5905-42d5-8d5c-058d10e6a962 --- src/neutrino.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/neutrino.cpp b/src/neutrino.cpp index 406c6ee80..9ad2a1f29 100644 --- a/src/neutrino.cpp +++ b/src/neutrino.cpp @@ -3667,8 +3667,6 @@ void CNeutrinoApp::saveEpg() void CNeutrinoApp::AudioMute( int newValue, bool isEvent ) { - if(g_settings.current_volume == 0) - return; //printf("MUTE: val %d current %d event %d\n", newValue, current_muted, isEvent); int dx = 0; int dy = 0; @@ -3787,11 +3785,8 @@ printf("CNeutrinoApp::setVolume dx %d dy %d\n", dx, dy); else if (msg == CRCInput::RC_minus || msg == CRCInput::RC_left) { //FIXME if (g_settings.current_volume > g_settings.current_volume_step) g_settings.current_volume -= g_settings.current_volume_step; - else{ - g_settings.current_volume = 1; - AudioMute( true, true); + else g_settings.current_volume = 0; - } } else { g_RCInput->postMsg(msg, data);