Skip to content
Snippets Groups Projects
Commit 9de714b3 authored by Tristan Matthews's avatar Tristan Matthews
Browse files

* #29917: manager: don't inline getAudioDriver

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