forked from thesofproject/sof
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompr-playback.conf
More file actions
103 lines (87 loc) · 1.75 KB
/
compr-playback.conf
File metadata and controls
103 lines (87 loc) · 1.75 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
#
# FE playback pipeline: compr-playback
#
# All attributes defined herein are namespaced
# by alsatplg to "Object.Pipeline.compr-playback.N.attribute_name"
#
# Usage: compr-playback pipeline object can be instantiated as:
#
# Object.Pipeline.compr-playback."N" {
# period 1000
# time_domain "timer"
# }
#
# Where N is the unique pipeline ID within the same alsaconf node.
#
<include/common/input_audio_format.conf>
<include/common/output_audio_format.conf>
<include/components/host-copier.conf>
<include/components/module-copier.conf>
<include/components/mixin.conf>
<include/components/pipeline.conf>
<include/components/gain.conf>
<include/components/decoder.conf>
<include/components/micsel.conf>
<include/components/src.conf>
Class.Pipeline."compr-playback" {
<include/pipelines/pipeline-common.conf>
attributes {
!constructor [
"index"
]
!immutable [
"direction"
]
#
# compr-playback objects instantiated within the same alsaconf node must have
# unique pipeline_id attribute
#
unique "instance"
}
Object.Widget {
host-copier."1" {
type "aif_in"
node_type $HDA_HOST_OUTPUT_CLASS
num_output_pins 1
deep_buffer_dma_ms $COMPR_DEEPBUFFER_MS
}
decoder."1" {
scheduler_domain "DP"
}
module-copier."2" {}
src."1" {}
micsel."1" {}
gain."1" {}
mixin."1" {}
pipeline."1" {
priority 0
# enable lp mode
lp_mode 1
}
}
Object.Base.route [
{
source decoder.$index.1
sink module-copier.$index.2
}
{
source module-copier.$index.2
sink src.$index.1
}
{
source src.$index.1
sink micsel.$index.1
}
{
source micsel.$index.1
sink gain.$index.1
}
{
source gain.$index.1
sink mixin.$index.1
}
]
direction "playback"
dynamic_pipeline 1
time_domain "timer"
}