Loading lib_rend/ivas_td_ring_buffer_fx.c +3 −3 Original line number Diff line number Diff line Loading @@ -345,7 +345,7 @@ void ivas_TD_RINGBUF_PushZeros( move32(); ++h->write_pos; IF ( EQ_32( h->write_pos == h->capacity ) ) IF ( EQ_32( h->write_pos, h->capacity ) ) { h->write_pos = 0; move32(); Loading @@ -353,7 +353,7 @@ void ivas_TD_RINGBUF_PushZeros( } } IF ( EQ_32( h->read_pos == h->write_pos ) ) IF ( EQ_32( h->read_pos, h->write_pos ) ) { h->is_full = 1; move16(); Loading Loading @@ -411,7 +411,7 @@ void ivas_TD_RINGBUF_Pop( p_channels[c][s] = h->data[h->read_pos]; move32(); #else data[L_add( L_mult0( c, num_samples_per_channel ), s )) = h->data[h->read_pos]; data[L_add( L_mult0( c, num_samples_per_channel ), s ) ] = h->data[h->read_pos]; move32(); #endif ++h->read_pos; Loading Loading
lib_rend/ivas_td_ring_buffer_fx.c +3 −3 Original line number Diff line number Diff line Loading @@ -345,7 +345,7 @@ void ivas_TD_RINGBUF_PushZeros( move32(); ++h->write_pos; IF ( EQ_32( h->write_pos == h->capacity ) ) IF ( EQ_32( h->write_pos, h->capacity ) ) { h->write_pos = 0; move32(); Loading @@ -353,7 +353,7 @@ void ivas_TD_RINGBUF_PushZeros( } } IF ( EQ_32( h->read_pos == h->write_pos ) ) IF ( EQ_32( h->read_pos, h->write_pos ) ) { h->is_full = 1; move16(); Loading Loading @@ -411,7 +411,7 @@ void ivas_TD_RINGBUF_Pop( p_channels[c][s] = h->data[h->read_pos]; move32(); #else data[L_add( L_mult0( c, num_samples_per_channel ), s )) = h->data[h->read_pos]; data[L_add( L_mult0( c, num_samples_per_channel ), s ) ] = h->data[h->read_pos]; move32(); #endif ++h->read_pos; Loading