mirror of
https://github.com/opnsense/src.git
synced 2026-02-23 09:56:47 -05:00
- 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 |
||
|---|---|---|
| .. | ||
| isa | ||
| pci | ||
| pcm | ||
| sbus | ||
| usb | ||
| chip.h | ||
| driver.c | ||