mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 16:01:10 +02:00
unmute if volume plus
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1282 e54a6e83-5905-42d5-8d5c-058d10e6a962
Origin commit data
------------------
Branch: ni/coolstream
Commit: b921bbc235
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2011-03-10 (Thu, 10 Mar 2011)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -3730,7 +3730,7 @@ printf("CNeutrinoApp::setVolume dx %d dy %d\n", dx, dy);
|
|||||||
if(g_settings.mode_clock){
|
if(g_settings.mode_clock){
|
||||||
clock_height = g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_CHANNAME]->getHeight();
|
clock_height = g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_CHANNAME]->getHeight();
|
||||||
}
|
}
|
||||||
x = sw - dx;
|
x = sw - dx - 6;
|
||||||
y += clock_height;
|
y += clock_height;
|
||||||
break;
|
break;
|
||||||
case 1:// upper left
|
case 1:// upper left
|
||||||
@@ -3778,6 +3778,9 @@ printf("CNeutrinoApp::setVolume dx %d dy %d\n", dx, dy);
|
|||||||
g_settings.current_volume += g_settings.current_volume_step;
|
g_settings.current_volume += g_settings.current_volume_step;
|
||||||
else
|
else
|
||||||
g_settings.current_volume = 100;
|
g_settings.current_volume = 100;
|
||||||
|
if(current_muted){
|
||||||
|
AudioMute( false, true);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else if (msg == CRCInput::RC_minus || msg == CRCInput::RC_left) { //FIXME
|
else if (msg == CRCInput::RC_minus || msg == CRCInput::RC_left) { //FIXME
|
||||||
if (g_settings.current_volume > g_settings.current_volume_step)
|
if (g_settings.current_volume > g_settings.current_volume_step)
|
||||||
|
Reference in New Issue
Block a user