cec: added VolumeUp()/cec_volume_up(), VolumeDown()/cec_volume_down(), MuteAudio...
[deb_libcec.git] / include / cec.h
index 5edbe1819fd2b777f8133e9f75a3423d1a740cba..7ac25fdfaf9b68b47839235e4fcf225651b21c80 100644 (file)
@@ -269,6 +269,24 @@ namespace CEC
      * @return True when changed, false otherwise.
      */
     virtual bool SetHDMIPort(uint8_t iPort) = 0;
+
+    /*!
+     * @brief Sends a volume up keypress to an audiosystem if it's present.
+     * @return The new audio status.
+     */
+    virtual uint8_t VolumeUp(void) = 0;
+
+    /*!
+     * @brief Sends a volume down keypress to an audiosystem if it's present.
+     * @return The new audio status.
+     */
+    virtual uint8_t VolumeDown(void) = 0;
+
+    /*!
+     * @brief Sends a mute keypress to an audiosystem if it's present.
+     * @return The new audio status.
+     */
+    virtual uint8_t MuteAudio(void) = 0;
   };
 };