mirror of https://github.com/thesofproject/sof.git
audio: rtnr: partial revert of 589df2aea4
The original commit failed to take into account that the assigned stream
was an adapter (not audio_stream) therefore revert in this file since
the adapter is unchanged.
Fixes: 589df2aea4
("buffer: don't access stream internals")
Signed-off-by: Curtis Malainey <cujomalainey@chromium.org>
This commit is contained in:
parent
cdb115f58e
commit
d9f6d07186
|
@ -381,7 +381,7 @@ static int rtnr_params(struct comp_dev *dev, struct sof_ipc_stream_params *param
|
|||
|
||||
/* set source/sink stream channels */
|
||||
cd->sources_stream[0].channels = audio_stream_get_channels(&source_c->stream);
|
||||
audio_stream_set_channels(&cd->sink_stream, audio_stream_get_channels(&sink_c->stream));
|
||||
cd->sink_stream.channels = audio_stream_get_channels(&sink_c->stream);
|
||||
|
||||
/* set source/sink stream overrun/underrun permitted */
|
||||
cd->sources_stream[0].overrun_permitted = audio_stream_get_overrun(&source_c->stream);
|
||||
|
|
Loading…
Reference in New Issue