NetBSD/sys/dev/audio
nia 7d8e907f96 audio(4): Handle delta == 0 in audio_volume_(up|down).
These functions are used by the pmf power handler functions to deal
with keyboard volume up/down key presses.

However, delta is optional, and may not be returned by certain hardware
drivers, including the earliest reference drivers (it is unlikely that
these are used on any systems with pmf volume keys on the keyboard,
but still).

XXX it may make sense to have 16 as a minimum bound for delta, since
pressing the volume up key on a keyboard 255 times doesn't sound
particularly fun.
2024-05-27 02:47:53 +00:00
..
alaw.c need <sys/param.h> for COHERENCY_UNIT 2021-07-21 06:35:44 +00:00
audio.c audio(4): Handle delta == 0 in audio_volume_(up|down). 2024-05-27 02:47:53 +00:00
audio_dai.h
audio_if.h
audiobell.c need <sys/param.h> for COHERENCY_UNIT 2021-07-21 06:35:44 +00:00
audiobellvar.h
audiodef.h audio: Rework about usrbuf allocation. 2022-08-13 06:47:41 +00:00
audiofil.h
audiovar.h Enable 24bit support by default. 2023-04-23 08:06:05 +00:00
linear.c Fix typo in comment. 2024-04-20 05:38:40 +00:00
linear.h
mulaw.c fix various typos in comments. 2024-02-02 22:39:09 +00:00
mulaw.h