summaryrefslogtreecommitdiff
path: root/state.h
diff options
context:
space:
mode:
Diffstat (limited to 'state.h')
-rw-r--r--state.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/state.h b/state.h
index d2a8304..e8b9768 100644
--- a/state.h
+++ b/state.h
@@ -95,6 +95,14 @@ struct tVolumeState
uint64_t lastChange;
};
+struct tAudioState
+{
+ int currentTrack;
+ std::vector <std::string> tracks;
+ int currentChannel;
+ uint64_t lastChange;
+};
+
class cGraphLCDDisplay;
class cGraphLCDState : public cStatus
@@ -113,6 +121,7 @@ private:
std::vector <tRecording> mRecordings;
tOsdState mOsd;
tVolumeState mVolume;
+ tAudioState mAudio;
void SetChannel(int ChannelNumber);
void UpdateChannelInfo(void);
@@ -123,6 +132,8 @@ protected:
virtual void Recording(const cDevice *Device, const char *Name, const char *FileName, bool On);
virtual void Replaying(const cControl *Control, const char *Name, const char *FileName, bool On);
virtual void SetVolume(int Volume, bool Absolute);
+ virtual void SetAudioTrack(int Index, const char * const *Tracks);
+ virtual void SetAudioChannel(int AudioChannel);
virtual void OsdClear();
virtual void OsdTitle(const char *Title);
virtual void OsdStatusMessage(const char *Message);
@@ -148,6 +159,7 @@ public:
tOsdState GetOsdState();
void ResetOsdStateScroll();
tVolumeState GetVolumeState();
+ tAudioState GetAudioState();
bool ShowMessage();
};