mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2024-11-22 19:58:39 -05:00
MSVC fixes
This commit is contained in:
parent
cf5cefbf6c
commit
c912601272
@ -2,8 +2,8 @@ cmake_minimum_required (VERSION 2.8)
|
||||
|
||||
SET(CUBICSDR_VERSION_MAJOR "0")
|
||||
SET(CUBICSDR_VERSION_MINOR "1")
|
||||
SET(CUBICSDR_VERSION_PATCH "16")
|
||||
SET(CUBICSDR_VERSION_REL "alpha")
|
||||
SET(CUBICSDR_VERSION_PATCH "17")
|
||||
SET(CUBICSDR_VERSION_REL "alpha-demod-refactor")
|
||||
SET(CUBICSDR_VERSION "${CUBICSDR_VERSION_MAJOR}.${CUBICSDR_VERSION_MINOR}.${CUBICSDR_VERSION_PATCH}-${CUBICSDR_VERSION_REL}")
|
||||
|
||||
SET(CPACK_PACKAGE_VERSION "${CUBICSDR_VERSION_MAJOR}.${CUBICSDR_VERSION_MINOR}.${CUBICSDR_VERSION_PATCH}")
|
||||
|
@ -22,7 +22,9 @@ void ModemAM::demodulate(ModemKit *kit, ModemIQData *input, AudioThreadInput *au
|
||||
return;
|
||||
}
|
||||
|
||||
ampmodem_demodulate_block(demodAM, &input->data[0], bufSize, &demodOutputData[0]);
|
||||
for (int i = 0; i < bufSize; i++) {
|
||||
ampmodem_demodulate(demodAM, input->data[i], &demodOutputData[i]);
|
||||
}
|
||||
|
||||
buildAudioOutput(amkit,audioOut,true);
|
||||
}
|
||||
|
@ -22,7 +22,9 @@ void ModemDSB::demodulate(ModemKit *kit, ModemIQData *input, AudioThreadInput *a
|
||||
return;
|
||||
}
|
||||
|
||||
ampmodem_demodulate_block(demodAM_DSB, &input->data[0], bufSize, &demodOutputData[0]);
|
||||
for (int i = 0; i < bufSize; i++) {
|
||||
ampmodem_demodulate(demodAM_DSB, input->data[i], &demodOutputData[i]);
|
||||
}
|
||||
|
||||
buildAudioOutput(amkit, audioOut, true);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user