1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

Log type of audio send error

This commit is contained in:
tux3 2015-12-05 02:35:11 +01:00
parent 2223640fcb
commit 333d10e6d5
No known key found for this signature in database
GPG Key ID: 7E086DD661263264

View File

@ -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;