Open
Labels
Description
We need to control better what the period and buffer sizes are in all sof-tests.
The default values I see in the SoundWire tests make no sense
buffer_size : 16368
period_size : 4080
period_time : 85000
85ms for a period-time is not representative of any reasonable usage.
aplay and arecord can be configured with --period-time=5000 and --buffer-time=10000 for e.g 2 periods of 5ms.
It would be good enough to have an environment variable for each value, so that we can configure the tests at will, and even set stricter values for specific tests. I believe 5ms and 2 periods are decent baselines.
Activity
xiulipan commentedon Jan 26, 2021
@marc-hb @plbossart will #527 can work on this request?
marc-hb commentedon Jan 27, 2021
It looks like SOF_ALSA_OPTS from (not finished) #489 would work for this too. @plbossart can you confirm?