diff options
author | Thierry Bultel <thierry.bultel@iot.bzh> | 2019-02-13 14:32:14 +0100 |
---|---|---|
committer | Thierry Bultel <thierry.bultel@iot.bzh> | 2019-02-18 16:53:57 +0100 |
commit | c9fb69878e06592c21f77a0caa6c77c75f4957f5 (patch) | |
tree | 21f059ce3ab1f2c605be3da109b2994f767bdc7c /plugins/alsa/ringbuf.c | |
parent | 297aa8309743d570b801e917f637937c0fc904c7 (diff) |
core pcm: use the same model for writing and reading audio
Reading sound frames relies on usage of poll before calling snd_pcm_writei
Recent seeks for bugs and CPU load issues have shown that the same thing
must be done on the write side.
Thus this commit uses the same mechanism, including the dedicated event
pipe for the thread termination.
Change-Id: Ifd5407c9e27da7801623583a6f7d4a2e845b43ea
Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
Diffstat (limited to 'plugins/alsa/ringbuf.c')
0 files changed, 0 insertions, 0 deletions