commands.sh

gst-launch-1.0 pulsesrc

all

Read audio data from a Pulseaudio source.

More info →

Examples (3)

Listen to the default microphone

gst-launch-1.0 pulsesrc ! autoaudiosink

Specify the source by name (can match a substring)

gst-launch-1.0 pulsesrc device="device_name" ! autoaudiosink

Record the monitor of the default sink

gst-launch-1.0 pulsesrc device=@DEFAULT_MONITOR@ ! opusenc ! oggmux ! filesink location=path/to/file.ogg
made by @shridhargupta | data from tldr-pages