Merge pull request #3364 from Atlante45/stereo_injections

move isStereo packing to the correct position
This commit is contained in:
Brad Hefta-Gaub 2014-09-05 16:37:58 -07:00
commit 5942386383

View file

@ -64,13 +64,13 @@ void AudioInjector::injectAudio() {
// pack some placeholder sequence number for now
int numPreSequenceNumberBytes = injectAudioPacket.size();
packetStream << (quint16)0;
// pack the stereo/mono type of the stream
packetStream << _options.isStereo();
// pack stream identifier (a generated UUID)
packetStream << QUuid::createUuid();
// pack the stereo/mono type of the stream
packetStream << _options.isStereo();
// pack the flag for loopback
uchar loopbackFlag = (uchar) (!_options.getLoopbackAudioInterface());
packetStream << loopbackFlag;