1# TDFB Bytes control with max value of 255 2C_CONTROLBYTES(DEF_TDFB_BYTES, PIPELINE_ID, 3 CONTROLBYTES_OPS(bytes, 4 258 binds the mixer control to bytes get/put handlers, 5 258, 258), 6 CONTROLBYTES_EXTOPS(258 binds the mixer control to bytes get/put handlers, 7 258, 258), 8 , , , 9 CONTROLBYTES_MAX(, 8192), 10 , 11 DEF_TDFB_PRIV) 12 13# TDFB switch control with max value of 1 14define(`CONTROL_NAME', `DEF_TDFB_BEAM') 15C_CONTROLMIXER(TDFB Process, PIPELINE_ID, 16 CONTROLMIXER_OPS(volsw, 259 binds the mixer control to switch get/put handlers, 259, 259), 17 CONTROLMIXER_MAX(max 1 indicates switch type control, 1), 18 false, 19 , 20 Channel register and shift for Front Center, 21 LIST(` ', ENUM_CHANNEL(FC, 3, 0)), 22 "1") 23undefine(`CONTROL_NAME') 24 25define(`CONTROL_NAME', `DEF_TDFB_DIRECTION') 26C_CONTROLMIXER(TDFB Direction, PIPELINE_ID, 27 CONTROLMIXER_OPS(volsw, 259 binds the mixer control to switch get/put handlers, 259, 259), 28 CONTROLMIXER_MAX(max 1 indicates switch type control, 1), 29 false, 30 , 31 Channel register and shift for Front Center, 32 LIST(` ', ENUM_CHANNEL(FC, 3, 0)), 33 "1") 34undefine(`CONTROL_NAME') 35 36# TDFB enum list 37CONTROLENUM_LIST(DEF_TDFB_AZIMUTH_VALUES, 38 LIST(` ', `"-90"', `"-75"', `"-60"', `"-45"', `"-30"', `"-15"', `"0"', `"15"', `"30"', `"45"', `"60"', `"75"', `"90"')) 39 40# TDFB enum control 41C_CONTROLENUM(DEF_TDFB_AZIMUTH, PIPELINE_ID, 42 DEF_TDFB_AZIMUTH_VALUES, 43 LIST(` ', ENUM_CHANNEL(FC, 3, 0)), 44 CONTROLENUM_OPS(enum, 45 257 binds the mixer control to enum get/put handlers, 46 257, 257)) 47 48C_CONTROLENUM(DEF_TDFB_AZIMUTH_ESTIMATE, PIPELINE_ID, 49 DEF_TDFB_AZIMUTH_VALUES, 50 LIST(` ', ENUM_CHANNEL(FC, 3, 0)), 51 CONTROLENUM_OPS(enum, 52 257 binds the mixer control to enum get/put handlers, 53 257, 257)) 54