mirror of https://github.com/thesofproject/sof.git
testbench: Fix build error
There was missing argument in file_get_hw_params, what breaks compilation.
Fixes: 2b84838
("Testbench: Instantiate file component as host")
Signed-off-by: Karol Trzcinski <karolx.trzcinski@linux.intel.com>
This commit is contained in:
parent
109450e6fd
commit
51a3234458
|
@ -743,11 +743,12 @@ static int file_reset(struct comp_dev *dev)
|
|||
}
|
||||
|
||||
static int file_get_hw_params(struct comp_dev *dev,
|
||||
struct sof_ipc_stream_params *params)
|
||||
struct sof_ipc_stream_params *params, int dir)
|
||||
{
|
||||
struct file_comp_data *cd = comp_get_drvdata(dev);
|
||||
|
||||
comp_info(dev, "file_hw_params()");
|
||||
params->direction = dir;
|
||||
params->rate = cd->rate;
|
||||
params->channels = cd->channels;
|
||||
params->buffer_fmt = 0;
|
||||
|
|
Loading…
Reference in New Issue