diff options
author | Cezary Rojewski <[email protected]> | 2024-04-05 11:09:29 +0200 |
---|---|---|
committer | Mark Brown <[email protected]> | 2024-04-05 13:13:12 +0100 |
commit | 9a385993504e47a0fd6fd34b5384827b4abdee60 (patch) | |
tree | 5effc8dc4c8d00e09454fd9aaabe3d7f9689d285 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | c2b10acb62c195db2c976d614d9d8092ad6339ae (diff) |
ASoC: Intel: avs: Rule invalid buffer and period sizes out
While HDAudio controller supports buffer packets up to 128 bytes low,
audio format shall be taken into consideration when calculating buffer
and period sizes to avoid undesired xruns.
As *_size in ALSA terms means frames (channels times bit-depth-bytes),
hw_rules can calculate minimal buffer and period sizes solely from
sample rate and the number of milliseconds commonly used on the
AudioDSP firmware side.
Signed-off-by: Cezary Rojewski <[email protected]>
Link: https://msgid.link/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions