History

removed unnecessary changes from ScriptEngine

wangyix committed 12 years ago

Commit c4a85731 parent 0711eb01 file · +3 −3Browse files

Showing the changes to libraries/script-engine/src/ScriptEngine.cpp (1 of 1 file). Show all

Unified · Split

libraries/script-engine/src/ScriptEngine.cpp+3−3
@@ -460,8 +460,8 @@ void ScriptEngine::run() { · 459 unmodified lines
460460 }
461461
462462 QByteArray audioPacket = byteArrayWithPopulatedHeader(silentFrame
463− ? PacketTypeSilentAudioFrame
464− : PacketTypeMicrophoneAudioNoEcho);
463+ ? PacketTypeSilentAudioFrame
464+ : PacketTypeMicrophoneAudioNoEcho);
465465
466466 QDataStream packetStream(&audioPacket, QIODevice::Append);
467467
@@ -485,7 +485,7 @@ void ScriptEngine::run() { · 17 unmodified lines
485485 } else if (nextSoundOutput) {
486486 // write the raw audio data
487487 packetStream.writeRawData(reinterpret_cast<const char*>(nextSoundOutput),
488− numAvailableSamples * sizeof(int16_t));
488+ numAvailableSamples * sizeof(int16_t));
489489 }
490490
491491 // write audio packet to AudioMixer nodes