Linux command
padsp 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Run an OSS application
padsp [oss_application]
Connect to a specific
padsp -s [server] [application]
Set the client
padsp -n [name] [application]
Disable /dev/dsp emulation
padsp -D [application]
Enable debug
padsp -d [application]
说明
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.
参数
- -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.
FAQ
What is the padsp command used for?
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.
How do I run a basic padsp example?
Run `padsp [oss_application]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -s _SERVER_ do in padsp?
PulseAudio server to connect to.