audio_select: copy full code from TangoCash

Just compile tested. Maybe some more alignments needed.


Origin commit data
------------------
Branch: ni/coolstream
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 was generated by Migit
This commit is contained in:
vanhofen
2017-10-12 08:51:44 +02:00
parent f6314ca7c3
commit a98e5fd8f7
9 changed files with 235 additions and 63 deletions

View File

@@ -35,6 +35,11 @@
#include <global.h>
#include <gui/widget/menue.h>
#include <zapit/client/zapittypes.h>
#include <playback.h>
#if HAVE_SPARK_HARDWARE || HAVE_DUCKBOX_HARDWARE
#include <audio.h>
#endif
#include <string>
@@ -111,7 +116,10 @@ class CFontSizeNotifier : public CChangeObserver
class CSubtitleChangeExec : public CMenuTarget
{
private:
cPlayback *playback;
public:
CSubtitleChangeExec(cPlayback *p = NULL) { playback = p; }
int exec(CMenuTarget* parent, const std::string & actionKey);
};