]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: aloop: Mark paused device as inactive
authorRobert Rosengren <robert.rosengren@axis.com>
Mon, 26 Mar 2018 05:24:49 +0000 (07:24 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 27 Mar 2018 06:00:28 +0000 (08:00 +0200)
commit0e1d91d45e36bed372e54e2dbb3cf21fe0ad74d4
treec275ecc8324f5221d215670d49b8d950a15a4f94
parentd0c3b23bedece1a970bdca980839f72f3101cfae
ALSA: aloop: Mark paused device as inactive

Show paused ALSA aloop device as inactive, i.e. the control
"PCM Slave Active" set as false. Notification sent upon state change.

This makes it possible for client capturing from aloop device to know if
data is expected. Without it the client expects data even if playback
is paused.

Signed-off-by: Robert Rosengren <robert.rosengren@axis.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/drivers/aloop.c