Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/drivers/intel/cavs/alh.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ static int alh_get_hw_params(struct dai *dai,
{
/* 0 means variable */
params->rate = 0;
Copy link
Collaborator

@singalsu singalsu Mar 26, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The rate should be set also (48000). Components SRC and ASRC need it.

This similar hack is also needed for HDA.

params->channels = 0;
params->channels = 2;
params->buffer_fmt = 0;
params->frame_fmt = 0;

Expand Down