summaryrefslogtreecommitdiff
path: root/usr.bin/aucat/dev_sun.c
diff options
context:
space:
mode:
authorJacob Meuser <jakemsr@cvs.openbsd.org>2008-10-25 22:30:44 +0000
committerJacob Meuser <jakemsr@cvs.openbsd.org>2008-10-25 22:30:44 +0000
commitfe8114f730e5473eba5ee55c81c541e29edbeea8 (patch)
tree545de71dde8d0a2e03bc8556eeaa4beb581824dd /usr.bin/aucat/dev_sun.c
parentd54880b2f6a9ada7238d4417b82adb8ce1f2ae77 (diff)
audio(9) says low level drivers are allowed to change the requested
values of the audio_params structure during AUDIO_SETINFO if the hardware cannot be set to exactly the requested mode. some drivers do this sometimes. others always return EINVAL if there isn't an exact match. be more consistent. only return EINVAL if an absurd parameter was requested, otherwise return a supported set of parameters, as close as possible to what was requested. with/ok ratchov@
Diffstat (limited to 'usr.bin/aucat/dev_sun.c')
0 files changed, 0 insertions, 0 deletions