-
Notifications
You must be signed in to change notification settings - Fork 349
topology2: add num_audio_formats for gain #5971
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
015f501 to
ae709a2
Compare
ae709a2 to
8e9bab9
Compare
RanderWang
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
lgirdwood
left a comment
There was a problem hiding this 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>
8e9bab9 to
f257b90
Compare
Yes, done |
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')