diff options
author | Jonathan Aillet <jonathan.aillet@iot.bzh> | 2018-11-07 17:00:36 +0900 |
---|---|---|
committer | Thierry Bultel <thierry.bultel@iot.bzh> | 2018-11-13 14:33:45 +0100 |
commit | 6ee71f44ebbb19809c75fb3b2ec4ca184b6e60fd (patch) | |
tree | 8a0f2928ab4cd6fbb2f04ddfef592cba5711642d /app-afb-helpers-submodule | |
parent | 5e48bc1f57a61302588d59eb686a2b1a5db0cd24 (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 'app-afb-helpers-submodule')
0 files changed, 0 insertions, 0 deletions