NetBSD/lib
nia d4490f2a9c ossaudio: Make SNDCTL_DSP_[GET|SET][PLAY|RECORD]VOL closer to OSSv4
Problems in the previous code include returning values in the 0-255
range NetBSD uses instead of the 0-100 range OSSv4 expects, using
AUDIO_GETBUFINFO (which doesn't even return the mixer bits), and
not encoding channels as specified: "level=(left)|(right << 8)".

In reality, setting the gain in this way (through /dev/audio rather
than /dev/mixer) doesn't seem to work properly, and the mixer-set
value seems to be retained.

However, these changes at least ensure that the return values are
correct and the balance is set correctly.

I've only found one application using this API (audio/audacious), and
OSSv4 support in it is currently disabled precisely because it breaks
when it attempts to set the track volume using it.
2020-04-19 11:27:40 +00:00
..
csu add stop (;;) to elimate WAW dependency compiler warning 2019-05-04 22:55:32 +00:00
i18n_module
libarch
libbluetooth Use strlcpy to NUL terminate the name string here. The kernel already 2019-10-03 17:10:16 +00:00
libbpfjit
libbsdmalloc
libbz2 convert HAVE_GCC == 7 to HAVE_GCC >= 7. 2019-09-29 23:44:58 +00:00
libc Rename __atomic_fork to __locked_fork and give it &errno as argument. 2020-04-19 01:06:15 +00:00
libc_fp
libc_vfp
libcompat stty & gtty were around since v1 2019-09-01 23:42:19 +00:00
libcrypt Remove trailing whitespace. 2020-03-25 22:09:48 +00:00
libcurses Fix synopsis, use more markup. 2020-03-23 16:14:20 +00:00
libdm Let's not write temporary files to fixed paths in /tmp, shall we? 2020-02-15 22:55:22 +00:00
libedit patbuf must be updated if the length of patbuf is greater than or equal to 0. (that is always) 2020-03-30 06:56:38 +00:00
libexecinfo Fix using gcc's unwind.h 2020-01-22 16:07:40 +00:00
libform terminfo: promote numeric parameters from short to int 2020-03-13 15:19:24 +00:00
libintl Switch the iconv(3) prototype to the POSIX conformant variation 2019-10-24 18:17:14 +00:00
libipsec Switch the iconv(3) prototype to the POSIX conformant variation 2019-10-24 18:17:14 +00:00
libisns introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
libkern
libkvm use a binary search in _kvm_pa2off(). this helps a lot for sparse dumps, 2020-03-08 00:14:18 +00:00
liblwres
libm Provide frexpl on non-long-double systems as alias to frexp. 2020-01-30 20:31:50 +00:00
libmenu terminfo: promote numeric parameters from short to int 2020-03-13 15:19:24 +00:00
libnpf libnpf/npfctl: support dynamic NAT rulesets using a name prefix. 2019-09-30 00:37:11 +00:00
libnvmm Reference nvmmctl(8). 2020-02-09 12:19:01 +00:00
libossaudio ossaudio: Make SNDCTL_DSP_[GET|SET][PLAY|RECORD]VOL closer to OSSv4 2020-04-19 11:27:40 +00:00
libp2k UVM locking changes, proposed on tech-kern: 2020-02-23 15:46:38 +00:00
libpam Add debugging commented out. 2020-03-03 00:46:06 +00:00
libpanel terminfo: promote numeric parameters from short to int 2020-03-13 15:19:24 +00:00
libpci
libperfuse miscelaneous -> miscellaneous in comment. 2020-03-05 15:56:20 +00:00
libposix
libppath
libprop
libpthread Drop most of the logic associated with pthread__started. 2020-04-14 23:35:07 +00:00
libpuffs s/conjuction/conjunction/ 2019-12-27 10:13:59 +00:00
libquota
libradius
librefuse Restore binary compatibility by using the statvfs90 structure internally. 2019-09-23 12:00:57 +00:00
libresolv Remove unused macro. 2018-12-13 08:39:34 +00:00
librmt s/transfered/transferred/ 2019-12-27 09:41:48 +00:00
librpcsvc Fix building librpcsvc for MKYP=no 2019-04-24 10:26:43 +00:00
librt Mention that ENOSPC can be returned if we exhausted the max number of 2019-02-21 21:54:09 +00:00
librump introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
librumpclient introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
librumpdev
librumphijack Change types of DUP2ALIAS and DUP2FDMASK bit masks to unsigned 2020-02-10 23:21:42 +00:00
librumpnet
librumpres introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
librumpuser If we're going to loop, pausing and then retrying malloc() after it 2020-03-24 14:56:31 +00:00
librumpvfs
libskey use strlcpy here; the destination string is passed to strtok_r, and if it 2019-10-03 17:08:26 +00:00
libss
libtelnet Match the function prototype of encrypthandler instead of casting to it. 2019-01-05 08:55:58 +00:00
libterminfo Conditionalize a few more functions (hopefully fixing the build) 2020-04-05 14:53:39 +00:00
libukfs
libusbhid lib/libusbhid: Fix possible left shift changes signedness bit. 2020-04-04 21:26:16 +00:00
libutil fail to create a pidfile if hostname contains '/' 2020-03-30 08:24:36 +00:00
libwrap PR/54992: fix hosts_access(5) to works for IPv6 linklocal address without scope-id 2020-03-30 08:34:38 +00:00
liby
libz convert HAVE_GCC == 7 to HAVE_GCC >= 7. 2019-09-29 23:44:58 +00:00
lua Prevent Lua from crashing if clear_bindings() is called on a statement 2019-05-16 12:42:35 +00:00
npf libnpf fix: link the library itself to libnv; libnpf users should not be 2019-08-24 13:20:52 +00:00
bumpversion
checkoldver
checkver
checkvers
Makefile remove smbfs 2020-04-04 17:56:22 +00:00
Makefile.inc