]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
committerStefan Bader <stefan.bader@canonical.com>
Tue, 14 Aug 2018 10:24:56 +0000 (12:24 +0200)
commitd2544ffad3ebcaee7cb1f3ad5a60ca7cc2392158
tree373e9ab9b5b314f2395975b31922a03daebac28a
parentd471dad92e1a3849fdcc3c90b6ad34ee39965186
ALSA: aloop: Mark paused device as inactive

BugLink: http://bugs.launchpad.net/bugs/1778759
commit 306a4f3ca7f3c7dfa473ebd19d66e40e59d99734 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
sound/drivers/aloop.c