Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
savoirfairelinux
jami-daemon
Commits
9de714b3
Commit
9de714b3
authored
Sep 11, 2013
by
Tristan Matthews
Browse files
* #29917: manager: don't inline getAudioDriver
This was causing invalid memory access and breaking getVolume()
parent
9e9b5205
Changes
2
Show whitespace changes
Inline
Side-by-side
daemon/src/managerimpl.cpp
View file @
9de714b3
...
...
@@ -2989,3 +2989,10 @@ ManagerImpl::sendRegister(const std::string& accountID, bool enable)
else
acc
->
unregisterVoIPLink
();
}
AudioLayer
*
ManagerImpl
::
getAudioDriver
()
{
return
audiodriver_
;
}
daemon/src/managerimpl.h
View file @
9de714b3
...
...
@@ -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
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment