1# Class definition for DAPM graph route objects 2# These are instantiated as follows: 3# Example: 4# Object.Base.route."N" { 5# source "Object.SSP.1.dai.capture" 6# sink "Object.Widget.buffer.2.0" 7# } 8# 9# The above object specifies a DAPM graph route: 10# "SSP.1 capture DAI widget -> buffer.2.0 " 11# where N is the unique instance of the route object in the same alsaconf node 12# 13Class.Base."route" { 14 # sink widget name 15 DefineAttribute."sink" { 16 type "string" 17 } 18 19 # source widget name for route 20 DefineAttribute."source" { 21 type "string" 22 } 23 24 # control name for the route 25 DefineAttribute."control" { 26 type "string" 27 } 28 29 # 30 # Pipeline ID of the pipeline the route object belongs to 31 # 32 DefineAttribute."index" {} 33 34 # unique instance for route object in the same alsaconf node 35 DefineAttribute."instance" {} 36 37 attributes { 38 !constructor [ 39 "instance" 40 ] 41 !mandatory [ 42 "source" 43 "sink" 44 ] 45 # 46 # route objects instantiated within the same alsaconf node must have unique 47 # index attribute 48 # 49 unique "instance" 50 } 51} 52