1# 2# CAVS passthrough playback pipeline 3# 4# A simple passthrough pipeline. All attributes defined herein are namespaced 5# by alsatplg to "Object.Pipeline.passthrough-playback.N.attribute_name" 6# 7# Usage: passthrough-playback pipeline object can be instantiated as: 8# 9# Object.Pipeline.passthrough-playback."N" { 10# format "s16le" 11# period 1000 12# time_domain "timer" 13# channels 2 14# rate 48000 15# } 16# 17# Where N is the unique pipeline ID within the same alsaconf node. 18# 19 20Class.Pipeline."passthrough-playback" { 21 22 DefineAttribute."index" {} 23 24 <include/pipelines/pipeline-common.conf> 25 26 attributes { 27 !constructor [ 28 "index" 29 ] 30 31 !mandatory [ 32 "format" 33 ] 34 35 !immutable [ 36 "direction" 37 ] 38 39 # 40 # passthrough-playback objects instantiated within the same alsaconf node must have 41 # unique pipeline_id attribute 42 # 43 unique "index" 44 } 45 46 Object.Widget { 47 copier."1" { 48 copier_type "host" 49 type "aif_in" 50 } 51 52 pipeline."1" { 53 priority 0 54 lp_mode 0 55 } 56 } 57 58 direction "playback" 59 time_domain "timer" 60 channels 2 61 channels_min 2 62 channels_max 2 63 rate 48000 64 rate_min 48000 65 rate_max 48000 66} 67