audio_select: copy full code from TangoCash

Just compile tested. Maybe some more alignments needed.


Origin commit data
------------------
Commit: e264e6334b
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-10-12 (Thu, 12 Oct 2017)

Origin message was:
------------------
- audio_select: copy full code from TangoCash

Just compile tested. Maybe some more alignments needed.
This commit is contained in:
vanhofen
2017-10-12 08:51:44 +02:00
parent a20b55bb75
commit 18bbbbabfe
9 changed files with 235 additions and 63 deletions

View File

@@ -4572,6 +4572,15 @@ int CNeutrinoApp::exec(CMenuTarget* parent, const std::string & actionKey)
InfoClock->switchClockOnOff();
returnval = menu_return::RETURN_EXIT_ALL;
}
else if (actionKey=="tonbug")
{
CZapitChannel * chan = CZapit::getInstance()->GetCurrentChannel();
if (chan)
{
CZapit::getInstance()->ChangeAudioPid(chan->getAudioChannelIndex());
returnval = menu_return::RETURN_EXIT_ALL;
}
}
else if (actionKey=="tv_radio_switch")//used in mainmenu
{
switchTvRadioMode();