[ALSA] Fix mmap_count with O_APPEND opened streams
authorTakashi Iwai <tiwai@suse.de>
Fri, 28 Apr 2006 13:13:41 +0000 (15:13 +0200)
committerJaroslav Kysela <perex@suse.cz>
Thu, 22 Jun 2006 19:33:14 +0000 (21:33 +0200)
commit9c323fcbc51493f79f9700cb20830d0857c72d99
tree17e17046c0642f918b9516de8d9517914cabd0ad
parent0df63e44c3e315ec0fe427ae62558231864108bd
[ALSA] Fix mmap_count with O_APPEND opened streams

Move mmap_count to snd_pcm_substream instead of runtime struct
so that multiplly opened substreams via O_APPEND can be handled
correctly.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/pcm.h
sound/core/oss/pcm_oss.c
sound/core/pcm.c
sound/core/pcm_native.c