Other apps seem to want I/Q pipe in this format; going with the flow
This commit is contained in:
parent
e5b7f76b2a
commit
b549f9748e
|
@ -423,6 +423,12 @@ IF (MSVC)
|
|||
set(CMAKE_CREATE_WIN32_EXE "/SUBSYSTEM:WINDOWS /ENTRY:\"mainCRTStartup\"")
|
||||
ENDIF(MSVC)
|
||||
|
||||
IF (APPLE)
|
||||
ADD_DEFINITIONS(
|
||||
-DHAVE_TYPE_TRAITS=1
|
||||
)
|
||||
ENDIF(APPLE)
|
||||
|
||||
IF (APPLE AND BUNDLE_APP)
|
||||
PROJECT(CubicSDR)
|
||||
SET(MACOSX_BUNDLE_BUNDLE_NAME CubicSDR)
|
||||
|
@ -431,7 +437,6 @@ IF (APPLE AND BUNDLE_APP)
|
|||
-std=c++0x
|
||||
-pthread
|
||||
-D_OSX_APP_
|
||||
-DHAVE_TYPE_TRAITS=1
|
||||
-mmacosx-version-min=10.9
|
||||
)
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue