1# 2# Common pipeline definitions. To be included in Class.Pipeline definitions 3# 4 5# pipeline ID 6DefineAttribute."index" {} 7 8# Number of channels 9DefineAttribute."channels" { 10 constraints { 11 min 2 12 max 8 13 } 14} 15 16# Pipeline format 17DefineAttribute."format" { 18 type "string" 19 constraints { 20 !valid_values [ 21 "s32le" 22 "s24le" 23 "s16le" 24 "float" 25 ] 26 } 27} 28 29# Sampling rate 30DefineAttribute."rate" { 31 constraints { 32 min 16000 33 max 196000 34 } 35} 36 37# Pipeline direction 38DefineAttribute."direction" { 39 type "string" 40 constraints { 41 !valid_values [ 42 "playback" 43 "capture" 44 ] 45 } 46} 47 48# Scheduling period 49DefineAttribute."period" { 50 # Token reference and type 51 token_ref "sof_tkn_scheduler.word" 52 constraints { 53 min 333 54 max 1000 55 } 56} 57 58# Scheduler time domain. The value provided will be translated to 0/1 based on 59# sof_tkn_scheduler_time_domain. For example: value "timer" will be converted to 1. 60DefineAttribute."time_domain" { 61 # Token reference and type 62 type "string" 63 token_ref "sof_tkn_scheduler.word" 64 constraints { 65 # Acceptable values for time_domain 66 !valid_values [ 67 "dma" 68 "timer" 69 ] 70 !tuple_values [ 71 0 72 1 73 ] 74 } 75} 76 77# flag to indicate if the pipeline is dynamic 78DefineAttribute."dynamic_pipeline" {} 79