repositories
/
deb_libcec.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cec: added missing libCEC methods to LibCecSharp. added "scan" to the C# version...
[deb_libcec.git]
/
src
/
lib
/
devices
/
CECAudioSystem.h
diff --git
a/src/lib/devices/CECAudioSystem.h
b/src/lib/devices/CECAudioSystem.h
index 82718f973b11078a47e9421ecdfc3f532d47fef8..291b0ecadc09d39bab87f7d9528aaf5452f75136 100644
(file)
--- a/
src/lib/devices/CECAudioSystem.h
+++ b/
src/lib/devices/CECAudioSystem.h
@@
-41,12
+41,20
@@
namespace CEC
CCECAudioSystem(CCECProcessor *processor, cec_logical_address address, uint16_t iPhysicalAddress = 0);
virtual ~CCECAudioSystem(void) {};
CCECAudioSystem(CCECProcessor *processor, cec_logical_address address, uint16_t iPhysicalAddress = 0);
virtual ~CCECAudioSystem(void) {};
- virtual bool SetSystemAudioMode(const cec_command &command);
+ virtual bool SetAudioStatus(uint8_t status);
+ virtual bool SetSystemAudioModeStatus(const cec_system_audio_status mode);
virtual bool TransmitAudioStatus(cec_logical_address dest);
virtual bool TransmitAudioStatus(cec_logical_address dest);
+ virtual bool TransmitSetSystemAudioMode(cec_logical_address dest);
virtual bool TransmitSystemAudioModeStatus(cec_logical_address dest);
virtual bool TransmitSystemAudioModeStatus(cec_logical_address dest);
+ virtual uint8_t VolumeUp(void);
+ virtual uint8_t VolumeDown(void);
+ virtual uint8_t MuteAudio(void);
+
+ virtual bool TransmitActiveSource(void) { return false; }
+
protected:
cec_system_audio_status m_systemAudioStatus;
protected:
cec_system_audio_status m_systemAudioStatus;
-
cec_audio_status
m_audioStatus;
+
uint8_t
m_audioStatus;
};
}
};
}