2016-12-13 23:20:34 +03:00
|
|
|
# $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
|
2014-11-18 04:53:17 +03:00
|
|
|
define auvolconv
|
2014-10-10 16:29:28 +04:00
|
|
|
|
|
|
|
# audio and midi devices, attaches to audio hardware driver
|
|
|
|
#
|
2016-12-08 13:28:44 +03:00
|
|
|
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
|
2016-12-13 23:20:34 +03:00
|
|
|
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
|
2016-12-13 23:20:34 +03:00
|
|
|
file dev/audiobell.c spkr_synth needs-flag
|
2014-10-10 16:29:28 +04:00
|
|
|
file dev/aurateconv.c aurateconv needs-flag
|
2014-11-18 04:53:17 +03:00
|
|
|
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
|