diff --git a/tools/topology/sof/pipe-processing-playback.m4 b/tools/topology/sof/pipe-processing-playback.m4 index 844cbd455..f252d82af 100644 --- a/tools/topology/sof/pipe-processing-playback.m4 +++ b/tools/topology/sof/pipe-processing-playback.m4 @@ -15,6 +15,48 @@ include(`bytecontrol.m4') ifdef(`PP_CORE',`', `define(`PP_CORE', 1)') +# +# Controls +# + +# Post process setup config +CONTROLBYTES_PRIV(PP_SETUP_CONFIG, +` bytes "0x53,0x4f,0x46,0x00,0x00,0x00,0x00,0x00,' +` 0x5C,0x00,0x00,0x00,0x00,0x10,0x00,0x03,' +` 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,' +` 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,' +` 0x01,0x01,0xDE,0xCA,0x00,0x00,0x00,0x00,' +` 0x80,0xBB,0x00,0x00,0x20,0x00,0x00,0x00,' +` 0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,' +` 0x0C,0x00,0x00,0x00,0x40,0x00,0x00,0x00,' +` 0x01,0x00,0x00,0x00,0x0C,0x00,0x00,0x00,' +` 0x80,0xBB,0x00,0x00,0x02,0x00,0x00,0x00,' +` 0x0C,0x00,0x00,0x00,0x20,0x00,0x00,0x00,' +` 0x03,0x00,0x00,0x00,0x0C,0x00,0x00,0x00,' +` 0x01,0x00,0x00,0x00,0x04,0x00,0x00,0x00,' +` 0x0C,0x00,0x00,0x00,0x02,0x00,0x00,0x00,' +` 0x05,0x00,0x00,0x00,0x0C,0x00,0x00,0x00,' +` 0x02,0x00,0x00,0x00"' +) + +# Post process Bytes control for setup config +C_CONTROLBYTES(Post Process Setup Config, PIPELINE_ID, + CONTROLBYTES_OPS(bytes), + CONTROLBYTES_EXTOPS(void, 258, 258), + , , , + CONTROLBYTES_MAX(void, 300), + , + PP_SETUP_CONFIG) + + +# Post process runtime params +CONTROLBYTES_PRIV(PP_RUNTIME_PARAMS, +` bytes "0x53,0x4f,0x46,0x00,0x01,0x00,0x00,0x00,' +` 0x00,0x00,0x00,0x00,0x00,0x10,0x00,0x03,' +` 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,' +` 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00"' +) + # # Components and Buffers #