Skip to content
Snippets Groups Projects
Commit efed1dc6 authored by Alexandre Savard's avatar Alexandre Savard
Browse files

[#4078] Add audio layer mutex in iax in case internal audio sampling rate is changed

parent 005b3c0c
No related branches found
No related tags found
No related merge requests found
......@@ -245,6 +245,8 @@ IAXVoIPLink::getEvent()
{
IAXCall* call = NULL;
Manager::instance().getAudioLayerMutex()->enter();
// lock iax_ stuff..
_mutexIAX.enterMutex();
iax_event* event = NULL;
......@@ -280,6 +282,8 @@ IAXVoIPLink::getEvent()
sendAudioFromMic();
Manager::instance().getAudioLayerMutex()->leave();
// Do the doodle-moodle to send audio from the microphone to the IAX channel.
// sendAudioFromMic();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment