NetBSD/sys/dev/files.audio

36 lines
853 B
Plaintext
Raw Normal View History

# $NetBSD: files.audio,v 1.8 2016/12/13 20:20:34 christos Exp $
2014-10-10 21:21:20 +04:00
define audiobus { }
define midibus { }
define midisyn
2014-10-10 16:29:28 +04:00
# audio device attributes
#
2014-10-10 21:21:20 +04:00
define mulaw: auconv
2014-10-10 16:29:28 +04:00
define auconv
define aurateconv
define auvolconv
2014-10-10 16:29:28 +04:00
# audio and midi devices, attaches to audio hardware driver
#
device audio {}: audiodev, auconv, aurateconv
2014-10-10 16:29:28 +04:00
attach audio at audiobus
2014-10-10 21:21:20 +04:00
device midi: audio
2014-10-10 16:29:28 +04:00
attach midi at midibus
attach spkr at audio with spkr_synth
2014-10-10 16:29:28 +04:00
# console bell via audio device
#
define audiobell
2014-10-10 21:21:20 +04:00
file dev/auconv.c auconv
file dev/audio.c audio needs-flag
file dev/audiobell.c spkr_synth needs-flag
2014-10-10 16:29:28 +04:00
file dev/aurateconv.c aurateconv needs-flag
file dev/auvolconv.c auvolconv
2014-10-10 21:21:20 +04:00
file dev/midi.c midi needs-flag
2014-10-10 16:29:28 +04:00
file dev/midictl.c midisyn
file dev/midisyn.c midisyn
file dev/mulaw.c mulaw needs-flag
2016-12-09 07:32:39 +03:00
file dev/spkr_synth.c spkr_synth needs-flag