Other apps seem to want I/Q pipe in this format; going with the flow

This commit is contained in:
Charles J. Cliffe
2015-08-28 19:55:25 -04:00
parent e5b7f76b2a
commit b549f9748e
2 changed files with 8 additions and 3 deletions
+2 -2
View File
@@ -320,8 +320,8 @@ void DemodulatorThread::run() {
}
ati->data.resize(numAudioWritten * 2);
for (int i = 0; i < numAudioWritten; i++) {
ati->data[i * 2] = (*inputData)[i].real;
ati->data[i * 2 + 1] = (*inputData)[i].imag;
ati->data[i * 2] = (*inputData)[i].imag;
ati->data[i * 2 + 1] = (*inputData)[i].real;
}
} else if (stereo && inp->sampleRate >= 100000) {
ati->channels = 2;