mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-10 07:08:28 +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
Origin commit data
------------------
Branch: ni/coolstream
Commit: a7f1e0e25e
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2013-05-24 (Fri, 24 May 2013)
------------------
This commit was generated by Migit
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