Describe the bug
when we increase the period size beyond 40ms in PIPELINE_PCM_ADD and DAI_ADD in *.m4 , it fails to build the topology with below error.
ALSA lib data.c:854:(parse_tuple_set) tuple SOF_TKN_BUF_SIZE: Numerical result out of range
ALSA lib parser.c:212:(tplg_load_config) failed to parse topology
Unable to load configuration: Invalid argument
Branch: main
alsatplg version 1.2.8
libasound version 1.2.8
libatopology version 1.2.8
To Reproduce
"sof-tgl-max98357a-rt5682;sof-adl-max98360a-rt5682;-DCODEC=MAX98360A;-DFMT=s32le;-DPLATFORM=adl;-DLINUX_MACHINE_DRIVER=sof_rt5682;-DAMP_SSP=1;-DBT_OFFLOAD;-DSPK_MIC_PERIOD_US=500000"
./scripts/build-tools.sh
Reproduction Rate
10/10
Expected behavior
Build should work without any errors.
Impact
What impact does this issue have on your progress (e.g., annoyance, showstopper)
Environment
- Branch name and commit hash of the 2 repositories: sof (firmware/topology) and linux (kernel driver).
- Name of the topology file
- Topology: tools/topology/topology1/sof-tgl-max98357a-rt5682.m4
- Name of the platform(s) on which the bug is observed.
Screenshots or console output
tplg-build.log