mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 09:28:46 +02:00
move isStereo packing to the correct position
This commit is contained in:
parent
507419162c
commit
619aebcd67
1 changed files with 3 additions and 3 deletions
|
@ -64,13 +64,13 @@ void AudioInjector::injectAudio() {
|
||||||
// pack some placeholder sequence number for now
|
// pack some placeholder sequence number for now
|
||||||
int numPreSequenceNumberBytes = injectAudioPacket.size();
|
int numPreSequenceNumberBytes = injectAudioPacket.size();
|
||||||
packetStream << (quint16)0;
|
packetStream << (quint16)0;
|
||||||
|
|
||||||
// pack the stereo/mono type of the stream
|
|
||||||
packetStream << _options.isStereo();
|
|
||||||
|
|
||||||
// pack stream identifier (a generated UUID)
|
// pack stream identifier (a generated UUID)
|
||||||
packetStream << QUuid::createUuid();
|
packetStream << QUuid::createUuid();
|
||||||
|
|
||||||
|
// pack the stereo/mono type of the stream
|
||||||
|
packetStream << _options.isStereo();
|
||||||
|
|
||||||
// pack the flag for loopback
|
// pack the flag for loopback
|
||||||
uchar loopbackFlag = (uchar) (!_options.getLoopbackAudioInterface());
|
uchar loopbackFlag = (uchar) (!_options.getLoopbackAudioInterface());
|
||||||
packetStream << loopbackFlag;
|
packetStream << loopbackFlag;
|
||||||
|
|
Loading…
Reference in a new issue