summaryrefslogtreecommitdiffstats
path: root/plugins/alsa/alsa-plug-vol.c
diff options
context:
space:
mode:
authorThierry Bultel <thierry.bultel@iot.bzh>2018-07-11 17:50:44 +0200
committerThierry Bultel <thierry.bultel@iot.bzh>2018-07-11 17:50:44 +0200
commit283bf0a4ab7dbd6f4393f6a1b4ef5a201ee92f62 (patch)
treed0ece00821901244465ef5fb3694389430db3085 /plugins/alsa/alsa-plug-vol.c
parentafd9f87786fe0cc3070ec976b89399603112c845 (diff)
stops the read/write loop when the stream is muted
when the stream is muted (due to the configuration, or due to a HAL request), the read/write loop is stopped. The benefit is that muting will work with capture devices that do not implement the mute in their driver. The inconvenient of stopping the read loop is that it has made appear an unexpected side-effect: the poll on capture does not trig for further incoming frames. The workaround is to completely close, then reopen and configure the capture PCM. Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
Diffstat (limited to 'plugins/alsa/alsa-plug-vol.c')
0 files changed, 0 insertions, 0 deletions