Skip to content

Conversation

@bardliao
Copy link
Collaborator

@bardliao bardliao commented Jun 30, 2022

We should set num_audio_formats in pipelines when we remove the
default value from gain.conf.
Otherwise, we will see below error with cavs-mixin-mixout-hda-2ch-tgl.tplg
tplg: ready widget id 2 pipe 1 type 6 name : gain.1.1 stream none

Fixes: 773a05a ('topology2: add S24LE support')

Copy link
Collaborator

Choose a reason for hiding this comment

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

can you set this in the right pipeline conf file instead then?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

can you set this in the right pipeline conf file instead then?

Indeed, there is no formats defined in gain.conf. So removing it from gain.conf and setting it in pipeline where define available formats makes more sense.

@bardliao bardliao force-pushed the fixup-add-S24LE-support branch from 015f501 to ae709a2 Compare June 30, 2022 07:12
@bardliao bardliao force-pushed the fixup-add-S24LE-support branch from ae709a2 to 8e9bab9 Compare July 1, 2022 03:17
Copy link
Collaborator

@RanderWang RanderWang left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@lgirdwood lgirdwood left a comment

Choose a reason for hiding this comment

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

@bardliao can you remove the "fixup!" in the subject. Thanks.

We should set num_audio_formats in pipelines when we remove the
default value from gain.conf.
Otherwise, we will see below error with cavs-mixin-mixout-hda-2ch-tgl.tplg
tplg: ready widget id 2 pipe 1 type 6 name : gain.1.1 stream none

Fixes: 773a05a ('topology2: add S24LE support')
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
@bardliao bardliao force-pushed the fixup-add-S24LE-support branch from 8e9bab9 to f257b90 Compare July 1, 2022 11:37
@bardliao
Copy link
Collaborator Author

bardliao commented Jul 1, 2022

@bardliao can you remove the "fixup!" in the subject. Thanks.

Yes, done

@bardliao bardliao changed the title fixup! topology2: add S24LE support topology2: add num_audio_formats for gain Jul 1, 2022
@lgirdwood lgirdwood merged commit 67daf2e into thesofproject:main Jul 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants