NetBSD/sys/dev/files.audio

30 lines
726 B
Plaintext

# $NetBSD: files.audio,v 1.14 2020/01/25 19:22:05 jmcneill Exp $
defparam opt_audio.h AUDIO_BLK_MS
define audiobus { }
define midibus { }
define midisyn
# audio and midi devices, attaches to audio hardware driver
#
device audio {}: audiodev
attach audio at audiobus
device midi: audio
attach midi at midibus
attach spkr at audio with spkr_audio
# console bell via audio device
#
define audiobell
file dev/audio/alaw.c audio
file dev/audio/linear.c audio
file dev/audio/audio.c audio needs-flag
file dev/audio/audiobell.c spkr_audio needs-flag
file dev/audio/mulaw.c audio
file dev/midi.c midi needs-flag
file dev/midictl.c midisyn
file dev/midisyn.c midisyn
file dev/spkr_audio.c spkr_audio needs-flag