[Audio] Get/set audio device volume (this is the device's value, NOT the logical AFV value)

This commit is contained in:
Klaus Basan
2019-12-06 23:51:58 +01:00
committed by Mat Sutcliffe
parent fc9bb1277d
commit 091fa5f338
8 changed files with 98 additions and 11 deletions

View File

@@ -128,6 +128,13 @@ namespace BlackCore
void stopAudio();
//! @}
//! The device's volume 0..1 @{
double getDeviceInputVolume() const;
bool setDeviceInputVolume(double volume);
double getDeviceOutputVolume() const;
bool setDeviceOutputVolume(double volume);
//! @}
//! Receive audio
//! \threadsafe
void setReceiveAudio(bool receive);