SND_DUMMY(4)
π SND_DUMMY(4) π
okay bestie, welcome to the Kernel Interfaces Manual page for SND_DUMMY(4) β yes, the dummy audio driver is the main character today, and she's lowkey iconic for testing. π
β¨
π NAME π
snd_dummy β Dummy audio driver. literally the virtual sound-card vibe, no physical hardware required. π«Ά
β¨ SYNOPSIS β¨
To load the driver at boot time, place the following line in loader.conf(5):
snd_dummy_load="YES"
π¦ DESCRIPTION π¦
okay so the snd_dummy driver implements a virtual testing device, meaning it does not correspond to a physical sound card. she's not a real sound card, bestie β just a testing device doing her thing. It is intended for testing, so that test programs do not need to rely on hardware being present in the machine in order to run. no cap, that's the whole point. π«Ά
The driver attaches as a regular sound(4) device, with two channels (one playback and one recording), as well as a mixer. two channels, one mixer, very demure. β¨
Playback works by discarding all input, and recording by returning silence (zeros). so playback is like βnot me throwing your audio away πβ, and recording gives you silence β literally zeros. πΈ
π FILES π
/dev/dsp.dummyβ alias to the device's/dev/dsp%dfile created bysound(4). This makes it easy for tests to open the dummy device when there are more devices present in the system. it's giving convenience, honestly. π
π SEE ALSO π
π AUTHORS π
The snd_dummy driver was implemented by Christos Margiolis <christos@FreeBSD.org> under sponsorship from the FreeBSD Foundation. we love a sponsored icon. π«Ά
π CAVEATS π
Because the driver automatically attaches once the module is loaded, it can only be attached once. so like, one attach only, bestie β no double-dipping. π
Debian, October 22, 2025, SND_DUMMY(4) β bye bestie, go run your tests and slay πβ¨
π¦ where this page comes from
- freebsd 15.1: base 15.1
- π the page's license: BSD-2-Clause
- Copyright (c) 2024 The FreeBSD Foundation
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms