diff options
author | Miguel GAIO <mgaio35@gmail.com> | 2020-02-06 21:09:31 +0100 |
---|---|---|
committer | Miguel GAIO <mgaio35@gmail.com> | 2020-02-06 21:10:09 +0100 |
commit | 05c64c3d64b497ffaba5a78c12e8d0d33320b368 (patch) | |
tree | b6f0d01d2e3c8a5952de42a55de46640d118806d /src/snd_card_plugin.h | |
parent | ea9da6e1b16c14408b3bc5323cdc7560366bb943 (diff) |
pcm: Set SW params.avail_min to period size
Using MMAP APIs, this parameter wake up application
when 'avail_min' samples are availables.
When audio processing expects exactly a full period size samples,
the default parameter to 1 burns CPU until the full period available.
Fix SW params.avail parameter to period size value.
Signed-off-by: Miguel GAIO <mgaio35@gmail.com>
Diffstat (limited to 'src/snd_card_plugin.h')
0 files changed, 0 insertions, 0 deletions