]> 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)
commitc4eadf037ffb5a733260e2eb4c0adacbbfe370d2
treec275ecc8324f5221d215670d49b8d950a15a4f94
parent3e20d5ccb99c0aeb366d483c0d25902a7a03c77f
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