freebsd-dev/sys/dev/sound/pcm
Ariff Abdullah 3fdb3676ba Apply more thorough fixes while dealing with device opening and closing:
- Determine open direction using 'flags', not 'mode'. This bug exist since
  past 4 years.
- Don't allow opening the same device twice, be it in a same or different
  direction.
- O_RDWR is allowed, provided that it is done by a single open (for example
  by mixer(8)) and the underlying hardware support true full-duplex operation.
- Do various paranoid checking in case other process/thread trying to hijack
  the same device twice (or more).

MFC after:	5 days
2006-03-21 06:35:48 +00:00
..
ac97_if.m Start each of the license/copyright comments with /*-, minor shuffle of lines 2005-01-06 01:43:34 +00:00
ac97_patch.c The cmi9739_patch function which is referenced by ac97.c (rev. 1.56) now... 2005-10-02 15:50:22 +00:00
ac97_patch.h The cmi9739_patch function which is referenced by ac97.c (rev. 1.56) now... 2005-10-02 15:50:22 +00:00
ac97.c Add codec id support for Analog Device AD1986 AC'97 codec. 2006-01-07 05:20:46 +00:00
ac97.h sys/dev/sound/pcm/ac97.c: 2005-10-02 15:37:40 +00:00
buffer.c Whats New: 2005-07-31 16:16:22 +00:00
buffer.h Start each of the license/copyright comments with /*-, minor shuffle of lines 2005-01-06 01:43:34 +00:00
channel_if.m Start each of the license/copyright comments with /*-, minor shuffle of lines 2005-01-06 01:43:34 +00:00
channel.c channel.c: 2006-01-24 01:10:07 +00:00
channel.h - channel.h 2005-09-10 18:10:31 +00:00
dsp.c Apply more thorough fixes while dealing with device opening and closing: 2006-03-21 06:35:48 +00:00
dsp.h Start each of the license/copyright comments with /*-, minor shuffle of lines 2005-01-06 01:43:34 +00:00
fake.c - fake.c 2005-09-10 17:47:39 +00:00
feeder_fmt.c Fix typos and clean up some comments. 2006-01-25 21:13:46 +00:00
feeder_if.m Start each of the license/copyright comments with /*-, minor shuffle of lines 2005-01-06 01:43:34 +00:00
feeder_rate.c Fix typos and clean up some comments. 2006-01-25 21:13:46 +00:00
feeder_volume.c Update my email address, so people know where the exact / 2005-11-14 18:37:59 +00:00
feeder.c Remove some dead code. 2006-02-23 19:23:55 +00:00
feeder.h Various fixups: 2006-01-22 15:06:49 +00:00
mixer_if.m Start each of the license/copyright comments with /*-, minor shuffle of lines 2005-01-06 01:43:34 +00:00
mixer.c Apply more thorough fixes while dealing with device opening and closing: 2006-03-21 06:35:48 +00:00
mixer.h Start each of the license/copyright comments with /*-, minor shuffle of lines 2005-01-06 01:43:34 +00:00
sndstat.c sys/dev/sound/pcm/sndstat.c: 2005-10-02 15:43:57 +00:00
sound.c Apply more thorough fixes while dealing with device opening and closing: 2006-03-21 06:35:48 +00:00
sound.h Apply more thorough fixes while dealing with device opening and closing: 2006-03-21 06:35:48 +00:00
vchan.c Fix severe 8bit integer overflow during channel creation and destruction, 2006-03-16 04:12:49 +00:00
vchan.h Start each of the license/copyright comments with /*-, minor shuffle of lines 2005-01-06 01:43:34 +00:00