Skip to content
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

topology2: Add new token 'playback_pause_supported' and set it true f… #9202

Merged
Merged
Show file tree
Hide file tree
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
12 changes: 12 additions & 0 deletions tools/topology/topology2/include/common/pcm.conf
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,16 @@ Class.PCM."pcm" {
token_ref "stream.bool"
}

DefineAttribute."playback_pause_supported" {
# Token reference and type
token_ref "stream.bool"
}

DefineAttribute."capture_pause_supported" {
# Token reference and type
token_ref "stream.bool"
}

attributes {
!constructor [
"name"
Expand All @@ -60,4 +70,6 @@ Class.PCM."pcm" {

# Default values for PCM attributes
compress "false"
playback_pause_supported "false"
capture_pause_supported "false"
}
6 changes: 4 additions & 2 deletions tools/topology/topology2/include/common/tokens.conf
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,10 @@ Object.Base.VendorToken {

"13" {
name "stream"
playback_compatible_d0i3 "1200"
capture_compatible_d0i3 "1201"
playback_compatible_d0i3 1200
capture_compatible_d0i3 1201
playback_pause_supported 1202
capture_pause_supported 1203
}

"14" {
Expand Down
Loading