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

Remove some debug output

This commit is contained in:
Tux3 / Mlkj / !Lev.uXFMLA 2014-08-28 23:11:33 +02:00
parent 5fba31927f
commit 8c82d07a3a

View File

@ -163,7 +163,6 @@ void Core::playCallAudio(ToxAv* toxav, int32_t callId, int16_t *data, int sample
ToxAvCSettings dest; ToxAvCSettings dest;
if(toxav_get_peer_csettings(toxav, callId, 0, &dest) == 0) if(toxav_get_peer_csettings(toxav, callId, 0, &dest) == 0)
playAudioBuffer(callId, data, samples, dest.audio_channels, dest.audio_sample_rate); playAudioBuffer(callId, data, samples, dest.audio_channels, dest.audio_sample_rate);
//playAudioBuffer(callId, data, samples, 1, av_DefaultSettings.audio_sample_rate);
} }
void Core::sendCallAudio(int callId, ToxAv* toxav) void Core::sendCallAudio(int callId, ToxAv* toxav)
@ -509,7 +508,7 @@ void Core::playAudioBuffer(int callId, int16_t *data, int samples, unsigned chan
} }
else else
{ {
qDebug() << "Core: Dropped audio frame" << sampleRate << ", " << channels<<", "<<samples; qDebug() << "Core: Dropped audio frame";
return; return;
} }