Where is /dev/dsp or /dev/audio?

I have to apply sudo chmod a+r /dev/dsp or /dev/audio but in my Ubuntu 12.10 i do not have such. Where is then the PCM sound file for ssh?

chmod: cannot access `/dev/dsp': No such file or directory
chmod: cannot access `/dev/audio': No such file or directory

Follow up:


I want to stream the sound output and input. So that i can capture any audio in/out to a file for recording.

Asked By: user25165


You need to install pulseaudio’s volume control and then use that to reroute the program you are recording with to the program you are trying to record.

(I will add screenshots a little later).

Answered By: RolandiXor

For anyone who lands here in the 2020s while trying to get some ancient program working that still only speaks OSS, you want OSS Proxy Daemon, which should be in your distro repos as osspd or something similar.

It will use the kernel’s CUSE (Character Devices in Userspace) API to create OSS devices (eg. /dev/dsp) that feed into PulseAudio or Pipewire.

Answered By: ssokolow
Categories: Answers Tags: , , , ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.