Commit 567b949a authored by Archit Tamarapu's avatar Archit Tamarapu
Browse files

rename IVAS_REND_NumOutChannels() to IVAS_REND_GetNumOutChannels()

parent 8834b716
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1350,7 +1350,7 @@ int main(
    }

    int16_t numOutChannels;
    if ( ( error = IVAS_REND_NumOutChannels( hIvasRend, &numOutChannels ) ) != IVAS_ERR_OK )
    if ( ( error = IVAS_REND_GetNumOutChannels( hIvasRend, &numOutChannels ) ) != IVAS_ERR_OK )
    {
        fprintf( stderr, "\nError in IVAS_REND_NumOutChannels(): %s\n", ivas_error_to_string( error ) );
        goto cleanup;
+5 −5
Original line number Diff line number Diff line
@@ -2804,7 +2804,7 @@ ivas_error IVAS_REND_Open(
    hIvasRend->num_subframes = num_subframes;

    /* Initialize limiter */
    if ( ( error = IVAS_REND_NumOutChannels( hIvasRend, &numOutChannels ) ) != IVAS_ERR_OK )
    if ( ( error = IVAS_REND_GetNumOutChannels( hIvasRend, &numOutChannels ) ) != IVAS_ERR_OK )
    {
        return error;
    }
@@ -3058,7 +3058,7 @@ ivas_error IVAS_REND_ConfigureCustomOutputLoudspeakerLayout(
    hIvasRend->customLsOut = makeCustomLsSetup( layout );

    /* Re-initialize limiter - number of output channels may have changed */
    if ( ( error = IVAS_REND_NumOutChannels( hIvasRend, &numOutChannels ) ) != IVAS_ERR_OK )
    if ( ( error = IVAS_REND_GetNumOutChannels( hIvasRend, &numOutChannels ) ) != IVAS_ERR_OK )
    {
        return error;
    }
@@ -3116,12 +3116,12 @@ ivas_error IVAS_REND_ConfigureCustomOutputLoudspeakerLayout(


/*-------------------------------------------------------------------*
 * IVAS_REND_NumOutChannels()
 * IVAS_REND_GetNumOutChannels()
 *
 *
 *-------------------------------------------------------------------*/

ivas_error IVAS_REND_NumOutChannels(
ivas_error IVAS_REND_GetNumOutChannels(
    IVAS_REND_CONST_HANDLE hIvasRend,
    int16_t *numOutChannels )
{
@@ -7405,7 +7405,7 @@ static ivas_error getSamplesInternal(
        }
    }

    if ( ( error = IVAS_REND_NumOutChannels( hIvasRend, &numOutChannels ) ) != IVAS_ERR_OK )
    if ( ( error = IVAS_REND_GetNumOutChannels( hIvasRend, &numOutChannels ) ) != IVAS_ERR_OK )
    {
        return error;
    }
+1 −1
Original line number Diff line number Diff line
@@ -134,7 +134,7 @@ ivas_error IVAS_REND_ConfigureCustomOutputLoudspeakerLayout(

/* Functions to be called before/during rendering */

ivas_error IVAS_REND_NumOutChannels(
ivas_error IVAS_REND_GetNumOutChannels(
    IVAS_REND_CONST_HANDLE hIvasRend,               /* i  : Renderer handle                                     */
    int16_t *numOutChannels                         /* o  : number of output channels                           */
);