Module Name: src Committed By: nia Date: Fri Nov 13 09:02:39 UTC 2020
Modified Files: src/lib/libossaudio: ossaudio.c Log Message: ossaudio(3): Clone some useful behaviour from the Solaris kernel Both SNDCTL_DSP_SPEED and SNDCTL_DSP_CHANNELS support a special value 0 to "query the configured value without changing it". In our case, this actually means setting and querying the hardware rate. I don't know if OSSv3 or FreeBSD or other implementations also do this. But it seems safe and sensible to support. To generate a diff of this commit: cvs rdiff -u -r1.63 -r1.64 src/lib/libossaudio/ossaudio.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.