summaryrefslogtreecommitdiffstats
path: root/plugins/alsa/alsa-plug-route.c
diff options
context:
space:
mode:
authorThierry Bultel <thierry.bultel@iot.bzh>2018-06-22 17:11:38 +0200
committerThierry Bultel <thierry.bultel@iot.bzh>2018-06-22 17:17:17 +0200
commitb124cc00e9714ac20fdf96f480fc7f08e06a2150 (patch)
tree9ef21b4aafe0164f7e9e1df078f73cda8e221f13 /plugins/alsa/alsa-plug-route.c
parentaa13829d133356cd5dabbfacc6127ae9368233fc (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-plug-route.c')
0 files changed, 0 insertions, 0 deletions