padsp(1)

πŸ’– padsp(1) β€” the PulseAudio OSS Wrapper πŸ’–

okay bestie, gather round 🫢 this is padsp, from the General Commands Manual, and she is literally the plug that makes your crusty old OSS apps talk to PulseAudio. no cap.


✨ NAME ✨

padsp β€” PulseAudio OSS Wrapper πŸŽ€


🌸 SYNOPSIS 🌸

padsp [options] PROGRAM [ARGUMENTS ...]

padsp -h

πŸ¦‹ DESCRIPTION πŸ¦‹

So here's the vibe: padsp starts up the program you tell it to, and then it redirects that program's access to OSS compatible audio devices β€” that's /dev/dsp and the auxiliary devices, iykyk β€” straight into a PulseAudio sound server. glow up for your legacy audio, fr fr πŸ’…

padsp does this by using the $LD_PRELOAD environment variable, which is interpreted by ld.so(8). and because of that... bestie, listen 😭 it does not work for SUID binaries and statically built executables. periodt, that's just how it is.

also, doing the exact same thing as padsp manually? that's just starting an application with $LD_PRELOAD set to libpulsedsp.so. same energy, same result. πŸ‘‘


πŸ’… OPTIONS πŸ’…

  • -h | --help β€” shows the help. she's helpful, she's iconic. ✨
  • -s SERVER β€” sets the PulseAudio server you want to connect to. pick your fave. 🫢
  • -n NAME β€” the client application name that gets passed to the server when connecting. it's giving ✨identity✨
  • -m NAME β€” the stream name that gets passed to the server when creating a stream. name that stream, bestie πŸŽ€
  • -M β€” disables /dev/mixer emulation. bye bye mixer 🚫
  • -S β€” disables /dev/sndstat emulation. sndstat? never heard of her πŸ’€
  • -D β€” disables /dev/dsp emulation. the main character device... turned off πŸ™ˆ
  • -d β€” enables debug output. turn the volume UP on the logs πŸ”₯

πŸ‘‘ AUTHORS πŸ‘‘

The PulseAudio Developers <pulseaudio-discuss (at) lists (dot) freedesktop (dot) org>; PulseAudio is available from http://pulseaudio.org/ 🌈


⭐ SEE ALSO ⭐

pulseaudio(1), pasuspender(1), ld.so(8)


and that's the whole page, bestie!! πŸ¦‹ this came from the Manuals source in the User section, and it's the padsp(1) page itself. stay hydrated, keep your $LD_PRELOAD close, and never forget: no SUID, no static, no audio magic. mwah πŸ’–βœ¨