mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-19 03:45:30 +08:00
[Audio] Get/set audio device volume (this is the device's value, NOT the logical AFV value)
This commit is contained in:
committed by
Mat Sutcliffe
parent
fc9bb1277d
commit
091fa5f338
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user