diff options
author | Thierry Bultel <thierry.bultel@iot.bzh> | 2018-06-22 17:11:38 +0200 |
---|---|---|
committer | Thierry Bultel <thierry.bultel@iot.bzh> | 2018-06-22 17:17:17 +0200 |
commit | b124cc00e9714ac20fdf96f480fc7f08e06a2150 (patch) | |
tree | 9ef21b4aafe0164f7e9e1df078f73cda8e221f13 /plugins/alsa/alsa-api-pcm.c | |
parent | aa13829d133356cd5dabbfacc6127ae9368233fc (diff) |
pcm core: fixed spurious XRUN issues
This fixes the numerous XRUN issues seen on some cards.
The trick is to set the buffer_size & period size in
hw parameters. These ones are calculated from an expected
maximum latency.
Also, the writei is done in a loop to be robust to overruns
and partial writes.
Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
Diffstat (limited to 'plugins/alsa/alsa-api-pcm.c')
0 files changed, 0 insertions, 0 deletions