|
| 1 | +# |
| 2 | +# BE playback pipeline: mixout-gain-ctc-alh-dai-copier. |
| 3 | +# This pipeline is an extension of the mixout-gain-alh-dai-copier-playback pipeline class. |
| 4 | +# |
| 5 | +# All attributes defined herein are namespaced |
| 6 | +# by alsatplg to "Object.Pipeline.mixout-gain-ctc-alh-dai-copier-playback.N.attribute_name" |
| 7 | +# |
| 8 | +# Usage: mixout-gain-ctc-alh-dai-copier-playback pipeline object can be instantiated as: |
| 9 | +# |
| 10 | +# Object.Pipeline.mixout-gain-ctc-alh-dai-copier-playback."N" { |
| 11 | +# period 1000 |
| 12 | +# time_domain "timer" |
| 13 | +# } |
| 14 | +# |
| 15 | +# Where N is the unique pipeline ID within the same alsaconf node. |
| 16 | +# |
| 17 | + |
| 18 | +<include/common/input_audio_format.conf> |
| 19 | +<include/common/output_audio_format.conf> |
| 20 | +<include/components/alh-dai-copier.conf> |
| 21 | +<include/components/gain.conf> |
| 22 | +<include/components/mixout.conf> |
| 23 | +<include/components/pipeline.conf> |
| 24 | +<include/components/ctc.conf> |
| 25 | +<platform/intel/efx-default.conf> |
| 26 | +<include/pipelines/cavs/mixout-gain-alh-dai-copier-playback.conf> |
| 27 | + |
| 28 | +Class.Pipeline."mixout-gain-ctc-alh-dai-copier-playback" { |
| 29 | + SubTreeCopy.baseclass { |
| 30 | + # this class extends the mixout-gain-alh-dai-copier-playback class definition |
| 31 | + source "Class.Pipeline.mixout-gain-alh-dai-copier-playback" |
| 32 | + |
| 33 | + # target node is not defined which means that the new subtree will be copied to |
| 34 | + # the parent node containing the SubTreeCopy node i.e in this case the |
| 35 | + # Class.Pipeline.mixout-gain-ctc-alh-dai-copier-playback {} node. |
| 36 | + |
| 37 | + # default copy type is to extend the base class ie the widgets and routes |
| 38 | + # will be added to the existing list of widgets/routes in the base class |
| 39 | + |
| 40 | + tree { |
| 41 | + Object.Widget { |
| 42 | + ctc."1" { |
| 43 | + num_input_audio_formats 1 |
| 44 | + num_output_audio_formats 1 |
| 45 | + |
| 46 | + Object.Base.input_audio_format [ |
| 47 | + { |
| 48 | + in_bit_depth 32 |
| 49 | + in_valid_bit_depth 32 |
| 50 | + } |
| 51 | + ] |
| 52 | + Object.Base.output_audio_format [ |
| 53 | + { |
| 54 | + out_bit_depth 32 |
| 55 | + out_valid_bit_depth 32 |
| 56 | + } |
| 57 | + ] |
| 58 | + } |
| 59 | + } |
| 60 | + |
| 61 | + Object.Base { |
| 62 | + ! route [ |
| 63 | + { |
| 64 | + source gain.$index.1 |
| 65 | + sink ctc.$index.1 |
| 66 | + } |
| 67 | + ] |
| 68 | + } |
| 69 | + } |
| 70 | + } |
| 71 | +} |
0 commit comments