Commit f384c611 authored by liksonov's avatar liksonov
Browse files

Minor improvements.

parent 26e75d27
Loading
Loading
Loading
Loading
Loading
+2 −7
Original line number Diff line number Diff line
@@ -71,9 +71,6 @@ ivas_error ivas_mono_dmx_renderer_open(
#endif /* I15_IMPLEMENT_PROX_MIXING_FOR_ISM_DECODER */
{
    MONO_DOWNMIX_RENDERER_HANDLE hDownmix;
#ifdef I15_IMPLEMENT_PROX_MIXING_FOR_ISM_DECODER
    int16_t channel_idx;
#endif

    if ( ( hDownmix = (MONO_DOWNMIX_RENDERER_HANDLE) count_malloc( sizeof( MONO_DOWNMIX_RENDERER_STRUCT ) ) ) == NULL )
    {
@@ -90,13 +87,11 @@ ivas_error ivas_mono_dmx_renderer_open(
    if ( do_proximity_mixing )
    {
        set_zero( hDownmix->powvec, MONO_DOWNMIX_RENDERER_MAX_INPUT_CHANS );
        for ( channel_idx = 0 ; channel_idx < MONO_DOWNMIX_RENDERER_MAX_INPUT_CHANS; channel_idx++ )
        {
            hDownmix->userLoc[channel_idx] = prox_mix_user_locations[channel_idx];
        }
        mvs2s( prox_mix_user_locations, hDownmix->userLoc, MONO_DOWNMIX_RENDERER_MAX_INPUT_CHANS );
        hDownmix->listenerLoc = prox_mix_listener_location;

#ifdef DEBUG_PROX_MIX_INFO
        int16_t channel_idx;
        for ( channel_idx = 0 ; channel_idx < MONO_DOWNMIX_RENDERER_MAX_INPUT_CHANS; channel_idx++ )
        {
            printf("\n  channel_idx = %d, userLoc = %d \n", channel_idx, hDownmix->userLoc[channel_idx] );
+1 −1

File changed.

Contains only whitespace changes.