diff --git a/tools/topology/m4/mixer.m4 b/tools/topology/m4/mixer.m4 index a34c7ed67..8b16a377a 100644 --- a/tools/topology/m4/mixer.m4 +++ b/tools/topology/m4/mixer.m4 @@ -1,6 +1,8 @@ divert(-1) dnl Define macro for Mixer widget +DECLARE_SOF_RT_UUID("mixer", mixer_uuid, 0xbc06c037, 0x12aa, 0x417c, + 0x9a, 0x97, 0x89, 0x28, 0x2e, 0x32, 0x1a, 0x76) dnl N_MIXER(name) define(`N_MIXER', `MIXER'PIPELINE_ID`.'$1) @@ -10,6 +12,15 @@ define(`NPIPELINE_MIXER', `MIXER'$1`.'$2) dnl W_MIXER(name, format, periods_sink, periods_source, core) define(`W_MIXER', +`SectionVendorTuples."'N_MIXER($1)`_tuples_uuid" {' +` tokens "sof_comp_tokens"' +` tuples."uuid" {' +` SOF_TKN_COMP_UUID' STR(mixer_uuid) +` }' +`}' +`SectionData."'N_MIXER($1)`_data_uuid" {' +` tuples "'N_MIXER($1)`_tuples_uuid"' +`}' `SectionVendorTuples."'N_MIXER($1)`_tuples_w" {' ` tokens "sof_comp_tokens"' ` tuples."word" {' @@ -35,6 +46,7 @@ define(`W_MIXER', ` type "mixer"' ` no_pm "true"' ` data [' +` "'N_MIXER($1)`_data_uuid"' ` "'N_MIXER($1)`_data_w"' ` "'N_MIXER($1)`_data_str"' ` ]'