NetBSD/sys/dev/files.audio
jmcneill dd9a139587 Add common audio converters for software volume control. Only supports
slinear16_le and slinear16_be for now.

Convert pad(4) to use the new converters.
2014-11-18 01:53:17 +00:00

34 lines
734 B
Plaintext

# $NetBSD: files.audio,v 1.3 2014/11/18 01:53:17 jmcneill Exp $
define audiobus { }
define midibus { }
define midisyn
# audio device attributes
#
define mulaw: auconv
define auconv
define aurateconv
define auvolconv
# audio and midi devices, attaches to audio hardware driver
#
device audio: audiodev
attach audio at audiobus
device midi: audio
attach midi at midibus
# console bell via audio device
#
define audiobell
file dev/auconv.c auconv
file dev/audio.c audio needs-flag
file dev/audiobell.c audiobell
file dev/aurateconv.c aurateconv needs-flag
file dev/auvolconv.c auvolconv
file dev/midi.c midi needs-flag
file dev/midictl.c midisyn
file dev/midisyn.c midisyn
file dev/mulaw.c mulaw needs-flag