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)
commit306a4f3ca7f3c7dfa473ebd19d66e40e59d99734
treec275ecc8324f5221d215670d49b8d950a15a4f94
parent568fa7e087ef98bc85b5aa31ea7c9252c1305c1f
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