NetBSD/lib/libossaudio
nia 6476938d92 ossaudio: Make SNDCTL_DSP_SPEED more robust when using invalid rates.
From the perspective of reading the OSSv4 specification, NetBSD's
behaviour when an invalid sample rate is set makes no sense at all:
AUDIO_SETINFO simply returns an error code, and then we immediately
fall through to getting the sample rate, which is still set to the
legacy default of 8000 Hz.

Instead, what OSS applications generally expect is that they will be
able to receive the actual hardware sample rate. This is very, very
unlikely to be 8000 Hz on a modern machine.

No functional change when setting a sample rate between the supported
rates of 1000 and 192000 Hz. When a rate outside this range is requested,
the hardware rate is returned (on modern hardware, generally always 48000
Hz or a multiple of 48000 Hz).
2020-04-15 14:54:34 +00:00
..
Makefile fix typo, WARNS=5 2012-05-05 15:57:45 +00:00
ossaudio.3
ossaudio.c ossaudio: Make SNDCTL_DSP_SPEED more robust when using invalid rates. 2020-04-15 14:54:34 +00:00
shlib_version ABI of libossaudio did not change, so there was no need to bump the version 2017-03-24 11:46:52 +00:00
soundcard.h Add missing defines for 16, 24 and 32 bit NE and OE formats. 2014-09-09 10:45:18 +00:00