freebsd-nq/sys/dev/sound/pcm
Dag-Erling Smørgrav 85cc3851ff Add some safeguards to AIOSFMT:
- Return EINVAL if play_format or rec_format is set but the corresponding
   sample rate is 0.

 - Don't try to set the playback or recording format to 0.  Previously,
   issuing an AIOSFMT ioctl with an all-zeroes snd_chan_param would
   trigger a KASSERT in chn_fmtchain(); I'm unsure about the effects on
   a kernel without INVARIANTS.  After this commit, issuing AIOSFMT with
   an all-zeroes snd_chan_param is equivalent to issuing AIOGFMT.

MFC after:	2 weeks
2005-10-30 10:03:11 +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 sys/dev/sound/pcm/ac97.c: 2005-10-02 15:37:40 +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 sys/dev/sound/pcm/ac97.c: 2005-10-02 15:37:40 +00:00
channel.h - channel.h 2005-09-10 18:10:31 +00:00
dsp.c Add some safeguards to AIOSFMT: 2005-10-30 10:03:11 +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 - fake.c 2005-09-10 17:47:39 +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 Added missing comma. This fixes compilation if we need to enable 2005-10-18 21:18:47 +00:00
feeder_volume.c Soft volume implementation for audio devices without pcm mixer controller. 2005-10-02 15:31:03 +00:00
feeder.c - fake.c 2005-09-10 17:47:39 +00:00
feeder.h Start each of the license/copyright comments with /*-, minor shuffle of lines 2005-01-06 01:43:34 +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 sys/dev/sound/pcm/ac97.c: 2005-10-02 15:37:40 +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 sys/dev/sound/pcm/sndstat.c: 2005-10-02 15:43:57 +00:00
sound.h sys/dev/sound/pcm/sndstat.c: 2005-10-02 15:43:57 +00:00
vchan.c Fix vchan speed for hardware with discrete (non-continuous) 2005-10-18 21:33:51 +00:00
vchan.h Start each of the license/copyright comments with /*-, minor shuffle of lines 2005-01-06 01:43:34 +00:00