mirror of
https://github.com/lubosz/overte.git
synced 2025-04-23 01:04:06 +02:00
removed more debug stuff
This commit is contained in:
parent
a0795fd6e6
commit
c3f571745c
3 changed files with 2 additions and 9 deletions
|
@ -676,9 +676,6 @@ void Audio::handleAudioInput() {
|
|||
|
||||
Application::getInstance()->getBandwidthMeter()->outputStream(BandwidthMeter::AUDIO)
|
||||
.updateValue(numAudioBytes + leadingBytes);
|
||||
} else {
|
||||
// reset seq numbers if there's no connection with an audiomixer
|
||||
_outgoingAvatarAudioSequenceNumber = 0;
|
||||
}
|
||||
delete[] inputAudioSamples;
|
||||
}
|
||||
|
@ -852,8 +849,6 @@ void Audio::processReceivedAudio(const QByteArray& audioByteArray) {
|
|||
|
||||
// if there is anything in the ring buffer, decide what to do
|
||||
if (_ringBuffer.samplesAvailable() > 0) {
|
||||
|
||||
|
||||
|
||||
int numNetworkOutputSamples = _ringBuffer.samplesAvailable();
|
||||
int numDeviceOutputSamples = numNetworkOutputSamples / networkOutputToOutputRatio;
|
||||
|
|
|
@ -299,7 +299,7 @@ void Stats::display(
|
|||
(float) audio->getNetworkSampleRate() * 1000.f);
|
||||
drawText(30, glWidget->height() - 22, scale, rotation, font, audioJitter, color);
|
||||
|
||||
|
||||
|
||||
char audioPing[30];
|
||||
sprintf(audioPing, "Audio ping: %d", pingAudio);
|
||||
|
||||
|
|
|
@ -66,8 +66,7 @@ void AudioInjector::injectAudio() {
|
|||
packetStream << (quint16)0;
|
||||
|
||||
// pack stream identifier (a generated UUID)
|
||||
QUuid streamID;
|
||||
packetStream << (streamID = QUuid::createUuid());
|
||||
packetStream << QUuid::createUuid();
|
||||
|
||||
// pack the flag for loopback
|
||||
uchar loopbackFlag = (uchar) (!_options.getLoopbackAudioInterface());
|
||||
|
@ -118,7 +117,6 @@ QUuid streamID;
|
|||
|
||||
// send off this audio packet
|
||||
nodeList->writeDatagram(injectAudioPacket, audioMixer);
|
||||
printf("injector stream %s sent seq %d\n", streamID.toString().toLatin1().data(), outgoingInjectedAudioSequenceNumber);
|
||||
outgoingInjectedAudioSequenceNumber++;
|
||||
|
||||
currentSendPosition += bytesToCopy;
|
||||
|
|
Loading…
Reference in a new issue