Browse Source

Log type of audio send error

pull/2623/head
tux3 10 years ago
parent
commit
333d10e6d5
No known key found for this signature in database
GPG Key ID: 7E086DD661263264
  1. 5
      src/core/coreav.cpp

5
src/core/coreav.cpp

@ -275,9 +275,10 @@ bool CoreAV::sendCallAudio(uint32_t callId) @@ -275,9 +275,10 @@ bool CoreAV::sendCallAudio(uint32_t callId)
}
#endif
TOXAV_ERR_SEND_FRAME err;
if (!toxav_audio_send_frame(toxav, callId, buf, AUDIO_FRAME_SAMPLE_COUNT,
AUDIO_CHANNELS, AUDIO_SAMPLE_RATE, nullptr))
qDebug() << "toxav_audio_send_frame error";
AUDIO_CHANNELS, AUDIO_SAMPLE_RATE, &err))
qDebug() << "toxav_audio_send_frame error:"<<err;
}
return true;

Loading…
Cancel
Save