mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 15:15:50 +08:00
Add API method to enable audio loopback in IVoice and
audio context refs #136
This commit is contained in:
@@ -307,6 +307,13 @@ namespace BlackCore
|
||||
return static_cast<double>(this->m_voice->inputSquelch());
|
||||
}
|
||||
|
||||
void CContextAudio::enableAudioLoopback(bool enable)
|
||||
{
|
||||
Q_ASSERT(this->m_voice);
|
||||
if (this->getRuntime()->isSlotLogForAudioEnabled()) this->getRuntime()->logSlot(Q_FUNC_INFO);
|
||||
m_voice->enableAudioLoopback(enable);
|
||||
}
|
||||
|
||||
/*
|
||||
* Settings changed
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user