rusty-snake's Tips & Tricks

Collection of useful commands and configs.

View on GitHub
9 November 2020

Create a dummy microphone with pulseaudio

by rusty-snake

$ pactl load-module module-null-source && pactl set-default-source source.null

This is useful if, for example, a program does not work without a microphone even though none is required. And you have no microphone hardware connected.

Update Oct 2021: In the meantime Fedora has switched to PipeWire. Unfortunately does pipewire-pulse not support module-null-source. The Migrate-PulseAudio wikipage has a note to do the same with pw-cli, but this did not worked for me. Fortunately the Virtual-Devices wikipage has a working solution:

$ pactl load-module module-null-sink media.class=Audio/Source/Virtual sink_name="Null Source"
tags: