/dev/dsp.dummy
Alias to the device's /dev/dsp%d file created by sound(4). This makes it easy for tests to open the dummy device when there are more devices present in the system.
Dummy audio driver
To load the driver at boot time, place the following line in loader.conf(5):
snd_dummy_load="YES"
The snd_dummy driver implements a virtual testing device, meaning it does not correspond to a physical sound card. 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.
The driver attaches as a regular sound(4) device, with two channels (one playback and one recording), as well as a mixer.
Playback works by discarding all input, and recording by returning silence (zeros).
/dev/dsp.dummy
Alias to the device's /dev/dsp%d file created by sound(4). This makes it easy for tests to open the dummy device when there are more devices present in the system.
Because the driver automatically attaches once the module is loaded, it can only be attached once.
7 releases since FreeBSD 14.2-RELEASE; the text changed 1 time.