diff --git a/sflphone-common/src/audio/ringbuffer.cpp b/sflphone-common/src/audio/ringbuffer.cpp index e0d2c505c1948133e09235860343b271b538f7ef..4fcf390d46c5b5f5612f8520ccd562dce3b83d55 100644 --- a/sflphone-common/src/audio/ringbuffer.cpp +++ b/sflphone-common/src/audio/ringbuffer.cpp @@ -171,7 +171,7 @@ RingBuffer::storeReadPointer(int pointer_value, CallID call_id) } else { - _debug("Cannot find \"%s\" readPointer\n", call_id.c_str()); + _debug("storeReadPointer: Cannot find \"%s\" readPointer in \"%s\" ringbuffer\n", call_id.c_str(), buffer_id.c_str()); } } diff --git a/sflphone-common/src/iax/iaxvoiplink.cpp b/sflphone-common/src/iax/iaxvoiplink.cpp index 1aac07fae3f2b09e06b1825b46fcdd4a797147d7..f67faa5eb0e5d125f6c37000c8c52650fe20a737 100644 --- a/sflphone-common/src/iax/iaxvoiplink.cpp +++ b/sflphone-common/src/iax/iaxvoiplink.cpp @@ -508,7 +508,7 @@ IAXVoIPLink::answer (const CallID& id) call->setState (Call::Active); call->setConnectionState (Call::Connected); // Start audio - audiolayer->startStream(); + // audiolayer->startStream(); return true; } @@ -531,7 +531,7 @@ IAXVoIPLink::hangup (const CallID& id) if (Manager::instance().isCurrentCall (id)) { // stop audio - audiolayer->stopStream(); + // audiolayer->stopStream(); } terminateOneCall (id); @@ -558,7 +558,7 @@ IAXVoIPLink::peerHungup (const CallID& id) if (Manager::instance().isCurrentCall (id)) { // stop audio - audiolayer->stopStream(); + // audiolayer->stopStream(); } terminateOneCall (id); @@ -601,7 +601,7 @@ IAXVoIPLink::offhold (const CallID& id) _mutexIAX.enterMutex(); iax_unquelch (call->getSession()); _mutexIAX.leaveMutex(); - audiolayer->startStream(); + // audiolayer->startStream(); call->setState (Call::Active); return true; } @@ -752,7 +752,7 @@ IAXVoIPLink::iaxHandleCallEvent (iax_event* event, IAXCall* call) if (Manager::instance().isCurrentCall (id)) { // stop audio - audiolayer->stopStream(); + // audiolayer->stopStream(); } Manager::instance().peerHungupCall (id); @@ -775,7 +775,7 @@ IAXVoIPLink::iaxHandleCallEvent (iax_event* event, IAXCall* call) if (Manager::instance().isCurrentCall (id)) { // stop audio - audiolayer->stopStream(); + // audiolayer->stopStream(); } call->setConnectionState (Call::Connected); @@ -803,7 +803,7 @@ IAXVoIPLink::iaxHandleCallEvent (iax_event* event, IAXCall* call) call->setConnectionState (Call::Connected); call->setState (Call::Active); - audiolayer->startStream(); + // audiolayer->startStream(); if (event->ies.format) { // Should not get here, should have been set in EVENT_ACCEPT