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)
commite7373b702f6eab35f315e016a4159860a7a4d686
tree01e2401935c57f80f6b78d1906128f006655b432
parent91d12c485b8949cce6c13ab641147c5bc86ce8b9
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