mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-02 10:21:10 +02:00
Merge remote-tracking branch 'check/next-cc'
needs buildfixing in framebuffer class... Conflicts: data/locale/deutsch.locale data/locale/english.locale src/driver/fontrenderer.cpp src/driver/volume.cpp src/gui/audiomute.cpp src/gui/audioplayer.cpp src/gui/osd_setup.cpp src/gui/widget/stringinput.cpp src/neutrino.cpp
This commit is contained in:
@@ -40,6 +40,7 @@
|
||||
#include <driver/volume.h>
|
||||
#include <driver/display.h>
|
||||
#include <gui/audiomute.h>
|
||||
#include <gui/mediaplayer.h>
|
||||
#include <zapit/zapit.h>
|
||||
|
||||
|
||||
@@ -138,6 +139,11 @@ void CVolume::setVolume(const neutrino_msg_t key, bool nowait)
|
||||
}
|
||||
if (do_vol) {
|
||||
CAudioMute::getInstance()->AudioMute(false, true);
|
||||
if (mode == CNeutrinoApp::mode_audio) {
|
||||
CAudioPlayerGui *cap = CMediaPlayerMenu::getInstance()->getPlayerInstance();
|
||||
if (cap != NULL)
|
||||
cap->refreshMuteIcon();
|
||||
}
|
||||
setVolume(msg);
|
||||
return;
|
||||
}
|
||||
@@ -160,6 +166,11 @@ void CVolume::setVolume(const neutrino_msg_t key, bool nowait)
|
||||
volscale = NULL;
|
||||
}
|
||||
CAudioMute::getInstance()->AudioMute(true, true);
|
||||
if (mode == CNeutrinoApp::mode_audio) {
|
||||
CAudioPlayerGui *cap = CMediaPlayerMenu::getInstance()->getPlayerInstance();
|
||||
if (cap != NULL)
|
||||
cap->refreshMuteIcon();
|
||||
}
|
||||
setVolume(msg);
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user