]> git.baikalelectronics.ru Git - kernel.git/commit
sound: pcm: record a substream's owner process
authorClemens Ladisch <clemens@ladisch.de>
Tue, 10 Nov 2009 09:13:30 +0000 (10:13 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 10 Nov 2009 15:32:20 +0000 (16:32 +0100)
commitdc299c78c98867b040a96e3d29451deeafb69118
tree01e2401935c57f80f6b78d1906128f006655b432
parent33fe5b987b8724fb3d1c5c1a33468289084ca701
sound: pcm: record a substream's owner process

Record the pid of the task that opened a PCM substream. For sound
cards with hardware mixing, this allows determining which process
is associated with a specific substream's volume control.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/pcm.h
sound/core/pcm.c