Loading apps/encoder.c +4 −3 Original line number Diff line number Diff line Loading @@ -125,7 +125,7 @@ typedef struct IVAS_ENC_BANDWIDTH maxBandwidth; const char *bandwithProfileFile; #ifdef AMBISONICS_CONVENTIONS int16_t sba_input_fmt; AMBI_FMT sba_input_fmt; #endif IVAS_ENC_DTX_CONFIG dtxConfig; int32_t initBitrate; Loading Loading @@ -1202,10 +1202,10 @@ static bool parseCmdlIVAS_enc( * SBA input convention *------------------------------------------------------------------*/ #ifdef AMBISONICS_CONVENTIONS else if ( strcmp( argv_to_upper, "SBA_CONVENTION" ) == 0 ) else if ( strcmp( argv_to_upper, "-SBA_CONVENTION" ) == 0 ) { i++; arg->inputFormat = ( int16_t ) AMBI_FMT_ACN_SN3D; arg->sba_input_fmt = AMBI_FMT_ACN_SN3D; /* SBA configuration */ if ( i < argc - 4 && is_number( argv[i] ) && sscanf( argv[i], "%d", &tmp ) > 0 ) Loading @@ -1219,6 +1219,7 @@ static bool parseCmdlIVAS_enc( usage_enc(); return false; } arg->sba_input_fmt = tmp; } #endif Loading Loading
apps/encoder.c +4 −3 Original line number Diff line number Diff line Loading @@ -125,7 +125,7 @@ typedef struct IVAS_ENC_BANDWIDTH maxBandwidth; const char *bandwithProfileFile; #ifdef AMBISONICS_CONVENTIONS int16_t sba_input_fmt; AMBI_FMT sba_input_fmt; #endif IVAS_ENC_DTX_CONFIG dtxConfig; int32_t initBitrate; Loading Loading @@ -1202,10 +1202,10 @@ static bool parseCmdlIVAS_enc( * SBA input convention *------------------------------------------------------------------*/ #ifdef AMBISONICS_CONVENTIONS else if ( strcmp( argv_to_upper, "SBA_CONVENTION" ) == 0 ) else if ( strcmp( argv_to_upper, "-SBA_CONVENTION" ) == 0 ) { i++; arg->inputFormat = ( int16_t ) AMBI_FMT_ACN_SN3D; arg->sba_input_fmt = AMBI_FMT_ACN_SN3D; /* SBA configuration */ if ( i < argc - 4 && is_number( argv[i] ) && sscanf( argv[i], "%d", &tmp ) > 0 ) Loading @@ -1219,6 +1219,7 @@ static bool parseCmdlIVAS_enc( usage_enc(); return false; } arg->sba_input_fmt = tmp; } #endif Loading