1# 2# FE DAI Class definition. All attributes defined herein are namespaced 3# by alsatplg to "Object.Base.fe_dai.instance.attribute_name". 4# 5# Usage: FE DAI objects can be instantiated as 6# 7# Object.Base.fe_dai.1 { 8# id 0 9# } 10# 11# where NAME is the unique instance name for the FE DAI object within the 12# same alsaconf node. 13 14Class.Base."fe_dai" { 15 16 DefineAttribute."instance" {} 17 18 DefineAttribute."name" { 19 type "string" 20 } 21 22 DefineAttribute."id" {} 23 24 attributes { 25 !constructor [ 26 "name" 27 ] 28 29 !mandatory [ 30 "id" 31 ] 32 # 33 # instance attribute values for fe_dai objects must be unique in the 34 # same alsaconf node 35 # 36 unique "instance" 37 } 38} 39