Tools: Topology1: Add speaker DRC blob for testbench run

This blob exercises fully the features of DRC and is
therefore good for testbench runs to evaluate performance
in all operation regions.

The pipeline pipe-drc-playback.m4 is used only with testbench
so it is safe to change to use this blob.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
This commit is contained in:
Seppo Ingalsuo 2023-10-30 17:51:40 +02:00 committed by Liam Girdwood
parent 725c7d98a7
commit 6eed29c74f
2 changed files with 23 additions and 1 deletions

View File

@ -0,0 +1,22 @@
# Exported with script example_drc.m 18-Dec-2023
# cd tools/tune/drc; octave --no-window-system example_drc.m
CONTROLBYTES_PRIV(DRC_priv,
` bytes "0x53,0x4f,0x46,0x00,0x00,0x00,0x00,0x00,'
` 0x6c,0x00,0x00,0x00,0x00,0xa0,0x01,0x03,'
` 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,'
` 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,'
` 0x6c,0x00,0x00,0x00,0x00,0x00,0x00,0x00,'
` 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,'
` 0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,'
` 0x00,0x00,0x00,0xe7,0x00,0x00,0x00,0x0f,'
` 0x00,0x00,0x00,0x0a,0xd3,0x4d,0x62,0x00,'
` 0x0c,0x57,0x99,0x03,0x66,0x66,0x66,0x06,'
` 0x5c,0xea,0xc1,0x00,0xbf,0x84,0x23,0x00,'
` 0x03,0x3e,0xd6,0xff,0x4e,0xf4,0x50,0x00,'
` 0xb6,0xa0,0xb5,0x09,0x4c,0x10,0x61,0x04,'
` 0x1c,0xc7,0x71,0x00,0x77,0x77,0x77,0xff,'
` 0xd8,0x77,0x1f,0x00,0x05,0x00,0x00,0x00,'
` 0x00,0x80,0x43,0x00,0xd7,0x7d,0x04,0x00,'
` 0xa0,0xce,0x25,0x00,0xd7,0x7d,0x09,0x00,'
` 0xb1,0xb5,0x00,0x00"'
)

View File

@ -31,7 +31,7 @@ W_PCM_PLAYBACK(PCM_ID, DRC Playback, 2, 0, SCHEDULE_CORE)
define(DRC_priv, concat(`drc_bytes_', PIPELINE_ID))
define(MY_DRC_CTRL, concat(`drc_control_', PIPELINE_ID))
include(`drc_coef_default.m4')
include(`drc_coef_generic_notebook_speaker.m4')
C_CONTROLBYTES(MY_DRC_CTRL, PIPELINE_ID,
CONTROLBYTES_OPS(bytes, 258 binds the control to bytes get/put handlers, 258, 258),
CONTROLBYTES_EXTOPS(258 binds the control to bytes get/put handlers, 258, 258),