summaryrefslogtreecommitdiffstats
path: root/plugins/alsa/alsa-ringbuf.c
diff options
context:
space:
mode:
authorJonathan Aillet <jonathan.aillet@iot.bzh>2018-11-07 17:00:36 +0900
committerThierry Bultel <thierry.bultel@iot.bzh>2018-11-07 11:38:41 +0100
commit92e0380860dbc556ef2a1f9fbc0cd7eb99edad69 (patch)
tree041e305147b5148f87872d97f58ae24eda372679 /plugins/alsa/alsa-ringbuf.c
parent0e37ab93b7c611d4c1f94c4bfbee7acf312c9aec (diff)
Handle too small card PCM buffer when writing
In the writing thread, handle the case when 'writing threshold' was smaller than ALSA sound card's PCM buffer (defined in the driver). This avoids waiting indefinitely for a buffer to contain a wanted number of frames that it cannot contain. Change-Id: Ie1aa69ea1a93471ed46d571c669ec08a1b827476 Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
Diffstat (limited to 'plugins/alsa/alsa-ringbuf.c')
0 files changed, 0 insertions, 0 deletions