audio_select: copy full code from TangoCash

Just compile tested. Maybe some more alignments needed.

Signed-off-by: Thilo Graf <dbt@novatux.de>
Additional changes on cs playback_cs.h, because broken build
Signed-off-by: Thilo Graf <dbt@novatux.de>


Origin commit data
------------------
Commit: 5fd7ec68ac
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.

Signed-off-by: Thilo Graf <dbt@novatux.de>
Additional changes on cs playback_cs.h, because broken build
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
vanhofen
2017-10-12 08:51:44 +02:00
committed by Thilo Graf
parent 15fc40c893
commit 284138fbc5
11 changed files with 237 additions and 63 deletions

View File

@@ -4329,6 +4329,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();