Commit 9de714b3 authored by Tristan Matthews's avatar Tristan Matthews

* #29917: manager: don't inline getAudioDriver

This was causing invalid memory access and breaking getVolume()
parent 9e9b5205
......@@ -2989,3 +2989,10 @@ ManagerImpl::sendRegister(const std::string& accountID, bool enable)
else
acc->unregisterVoIPLink();
}
AudioLayer*
ManagerImpl::getAudioDriver()
{
return audiodriver_;
}
......@@ -148,9 +148,7 @@ class ManagerImpl {
* it's multi-thread and use mutex internally
* @return AudioLayer* The audio layer object
*/
AudioLayer* getAudioDriver() {
return audiodriver_;
}
AudioLayer* getAudioDriver();
void startAudioDriverStream();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment