mirror of https://github.com/thesofproject/sof.git
audio: dts: fix buffer_fmt lookup
Missed conversion
Fixes: 90828e2305
("buffer: external modules use API to access buffer_fmt")
Signed-off-by: Curtis Malainey <cujomalainey@chromium.org>
This commit is contained in:
parent
48620f7a90
commit
6b8acc52d9
|
@ -91,8 +91,8 @@ static int dts_effect_populate_buffer_configuration(struct comp_dev *dev,
|
|||
|
||||
source_c = buffer_acquire(source);
|
||||
|
||||
buffer_fmt = source_c->buffer_fmt;
|
||||
stream = &source_c->stream;
|
||||
buffer_fmt = audio_stream_get_buffer_fmt(stream);
|
||||
frame_fmt = audio_stream_get_frm_fmt(stream);
|
||||
rate = audio_stream_get_rate(stream);
|
||||
channels = audio_stream_get_channels(stream);
|
||||
|
|
Loading…
Reference in New Issue