LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

padsp

Wrap OSS applications for PulseAudio

TLDR

Run an OSS application with PulseAudio
$ padsp [oss_application]
copy
Connect to a specific PulseAudio server
$ padsp -s [server] [application]
copy
Set the client application name
$ padsp -n [name] [application]
copy
Disable /dev/dsp emulation
$ padsp -D [application]
copy
Enable debug output
$ padsp -d [application]
copy

SYNOPSIS

padsp [options] program [arguments...]

DESCRIPTION

padsp (PulseAudio OSS Wrapper) starts a program using an LD_PRELOAD library that redirects OSS audio device access (/dev/dsp, /dev/mixer, /dev/sndstat) to PulseAudio. This provides a compatibility layer for legacy OSS applications so they play through the PulseAudio sound server.

PARAMETERS

PROGRAM

OSS application to run.
-s SERVER
PulseAudio server to connect to.
-n NAME
Client application name sent to the server.
-m NAME
Stream name passed when creating a stream.
-M
Disable /dev/mixer device emulation.
-S
Disable /dev/sndstat device emulation.
-D
Disable /dev/dsp device emulation.
-d
Enable debug output.
-h, --help
Display help information.

INSTALL

sudo apt install pulseaudio-utils
copy
sudo dnf install pulseaudio-utils
copy
sudo apk add pulseaudio-utils
copy
sudo zypper install pulseaudio-utils
copy

CAVEATS

Relies on LD_PRELOAD, so it only works with dynamically linked ELF binaries. Not every OSS feature is emulated; applications using mmap or exotic ioctls may not work. Part of the PulseAudio distribution.

HISTORY

padsp was developed as part of the PulseAudio project to support legacy OSS applications after PulseAudio replaced OSS as the default sound system on most Linux distributions.

SEE ALSO

pulseaudio(1), aoss(1), pactl(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid