.description="Panning mono non diegetic sound to stereo -90<= pan <= 90\nleft or l or 90->left, right or r or -90->right, center or c or 0 ->middle\n",
#else
.description="Panning mono non diegetic sound to stereo -90<= pan <= 90\nleft or l or 90->left, right or r or -90->right, center or c or 0 ->middle\n(todo: implementation)",
fprintf(stderr,"Warning: The maximum number of indices %d has been exceeded in frame %d! Increase the limits in get_ivas_max_num_indices() or get_max_num_indices_metadata().\n",*(hBstr->ivas_max_num_indices),frame);
#else
/* TODO: replace with the warning message below before the finalization of the IVAS codec */
/* fprintf( stderr, "Warning: The maximum number of indices %d has been exceeded in frame %d! Increase the limits in get_ivas_max_num_indices() or get_max_num_indices_metadata().\n", *( hBstr->ivas_max_num_indices ), frame ); */
assert(0&&"The maximum number of indices has been exceeded! Increase the limits in get_ivas_max_num_indices() or get_max_num_indices_metadata().");
#endif
#endif
/* reallocate the buffer of indices with increased limit */
fprintf(stderr,"Warning: The maximum number of indices %d has been exceeded in frame %d! Increase the limits in get_ivas_max_num_indices() or get_max_num_indices_metadata().\n",*(hBstr->ivas_max_num_indices),frame);
#else
/* TODO: replace with the warning message below before the finalization of the IVAS codec */
/* fprintf( stderr, "Warning: The maximum number of indices %d has been exceeded in frame %d! Increase the limits in get_ivas_max_num_indices() or get_max_num_indices_metadata().\n", *( hBstr->ivas_max_num_indices ), frame ); */
assert(0&&"The maximum number of indices has been exceeded! Increase the limits in get_ivas_max_num_indices() or get_max_num_indices_metadata().");
#endif
#endif
/* no available empty slot -> need to re-allocate the buffer */
if(bfi==FRAMEMODE_MISSING)/* TODO(mcjbm): This fixes channel-aware mode BE. Still requires review from a bitstream reading expert */
if(bfi==FRAMEMODE_MISSING)
{
for(k=0;k<num_bits;k++)
{
@@ -3226,7 +3312,7 @@ ivas_error read_indices(
/* handle bad/lost speech frame(and CS bad SID frame) in the decoders CNG synthesis settings pair (total_brate, bfi) */
if((
bfi!=FRAMEMODE_FUTURE&&/* TODO(mcjbm): This fixes channel-aware mode BE. Still requires review from a bitstream reading expert */
bfi!=FRAMEMODE_FUTURE&&
(*CNG!=0)&&((speech_bad!=0)||(speech_lost!=0)))||/* SP_BAD or SPEECH_LOST) --> stay in CNG */
(sid_upd_bad!=0))/* SID_UPD_BAD --> start CNG */
{
@@ -3270,8 +3356,7 @@ ivas_error read_indices(
}
/* GOOD frame */
if(st_ivas->bfi==0||st_ivas->bfi==FRAMEMODE_FUTURE/* TODO(mcjbm): This fixes channel-aware mode BE. Still requires review from a bitstream reading expert */