mirror of https://github.com/thesofproject/sof.git
rtnr: fix regression
Earlier commits wrongly used struct audio_stream accessors to read members of struct audio_stream_rtnr in rtnr_copy_to_sof_stream(). Revert those changes. Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
This commit is contained in:
parent
9632135d33
commit
64f011acdb
|
@ -741,13 +741,13 @@ static void rtnr_copy_from_sof_stream(struct audio_stream_rtnr *dst,
|
||||||
static void rtnr_copy_to_sof_stream(struct audio_stream __sparse_cache *dst,
|
static void rtnr_copy_to_sof_stream(struct audio_stream __sparse_cache *dst,
|
||||||
struct audio_stream_rtnr *src)
|
struct audio_stream_rtnr *src)
|
||||||
{
|
{
|
||||||
dst->size = audio_stream_get_size(src);
|
dst->size = src->size;
|
||||||
dst->avail = audio_stream_get_avail(src);
|
dst->avail = src->avail;
|
||||||
dst->free = audio_stream_get_free(src);
|
dst->free = src->free;
|
||||||
dst->w_ptr = audio_stream_get_wptr(src);
|
dst->w_ptr = src->w_ptr;
|
||||||
dst->r_ptr = audio_stream_get_rptr(src);
|
dst->r_ptr = src->r_ptr;
|
||||||
dst->addr = audio_stream_get_addr(src);
|
dst->addr = src->addr;
|
||||||
dst->end_addr = audio_stream_get_end_addr(src);
|
dst->end_addr = src->end_addr;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* copy and process stream data from source to sink buffers */
|
/* copy and process stream data from source to sink buffers */
|
||||||
|
|
Loading…
Reference in New Issue