mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-23 05:45:35 +08:00
Mute functionality, corrected setting volume
This commit is contained in:
@@ -130,12 +130,18 @@ namespace BlackCore
|
||||
virtual void setCurrentAudioDevice(const BlackMisc::Voice::CAudioDevice &audioDevice);
|
||||
|
||||
/*!
|
||||
* \brief Set volumes
|
||||
* \brief Set volumes, also allows to mute
|
||||
* \param com1
|
||||
* \param com2
|
||||
*/
|
||||
virtual void setVolumes(const BlackMisc::Aviation::CComSystem &com1, const BlackMisc::Aviation::CComSystem &com2);
|
||||
|
||||
/*!
|
||||
* \brief Is muted?
|
||||
* \return
|
||||
*/
|
||||
virtual bool isMuted() const;
|
||||
|
||||
private:
|
||||
CVoiceVatlib *m_voice;
|
||||
BlackMisc::Voice::CAudioDevice m_currentInputDevice;
|
||||
|
||||
Reference in New Issue
Block a user