#if 1 // NOTE(sgi2det): the divide function includes a right shift so the result ends up 2x too small here // NOTE(det2sgi): ar_div() is a better fit than divide3216
#if 1 // NOTE(sgi2det): the divide function includes a right shift so the result ends up 2x too small here // NOTE(det2sgi): ar_div() is a better fit than divide3216
#if 1 // NOTE(sgi2det): The divide function includes a right shift so the result ends up 2x too small here.
#if 1 // NOTE(sgi2det): The divide function includes a right shift so the result ends up 2x too small here.// NOTE(det2sgi): ar_div() is a better fit than divide3216
// I copied this from previously ported version of IVAS_DEC_GetSplitBinauralBitstream. Maybe this can just stay here.
max_band=(Word16)((BINAURAL_MAXBANDS*st_ivas->hDecoderConfig->output_Fs)/48000);// TODO remove division
max_band=(Word16)ar_div(BINAURAL_MAXBANDS*st_ivas->hDecoderConfig->output_Fs,48000);// TODO remove division
#else // NOTE(sgi): originally from det
// NOTE(sgi): warning: implicit conversion from 'int' to 'Word16' (aka 'short') changes value from 48000 to -17536 [-Wconstant-conversion]
#if 1 // NOTE(sgi2det): the divide function includes a right shift so the result ends up 2x too small here// NOTE(det2sgi): int_div_s_x() is a better fit for a 16x16->16 bit division