]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerSasha Levin <alexander.levin@microsoft.com>
Wed, 23 May 2018 01:36:39 +0000 (21:36 -0400)
commite36ac3498fdb362ca74880f02694cb8fddcde2c2
tree32d7c3186b3578b91c5afad663a4472a26e286f3
parent105ab3b63f3525fd2d234c24d43c9226162b22ae
ALSA: aloop: Mark paused device as inactive

[ Upstream commit 306a4f3ca7f3c7dfa473ebd19d66e40e59d99734 ]

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: Sasha Levin <alexander.levin@microsoft.com>
sound/drivers/aloop.c