FRAMES_PER_SECOND should be avoided in ISAR
In ISAR code, there is used a constant FRAMES_PER_SECOND
. This constant is defined in wmc_auto.h which is part of the debug library and should be used only there.
Thus a constant FRAMES_PER_SEC
should be used instead of FRAMES_PER_SECOND
at two instances in ISAR code (file lib_isar\isar_splitRendererPre.c):
#ifdef FIX
int16_t frame_size = hSplitBin->hLc3plusEnc->config.samplerate / FRAMES_PER_SEC;
#else
int16_t frame_size = (int16_t) ( hSplitBin->hLc3plusEnc->config.samplerate / (int32_t) FRAMES_PER_SECOND );
#endif
Edited by vaclav