Approved: Fortect
If you don’t find debian / dev / dsp on your system, this user guide will help you fix the problem.
I’m currently working on a Linux tutorial and that tells me a lot. It says that when I put the appropriate output in / dev / dsp
, this idea produces a playback sound. It’s cat file.wav> / dev / dsp
, the file.wav location is just any .wav file.
When I do, my permission will be denied. When I do this with sudo, I am actually denied permission. When I play First, su
, there is no sound.
Why should I be denied permission?using sudo
? Why doesn’t sound play despite using su
?
requested December 6, 2013 at 10:07 PM
2,341
Isn’t The Answer You Should Be Looking For? Browse The Other Questions Titled “Linux Mint Devices” Or Ask Your Own Questions.
/ dev / dsp
is a piece of OSS that has not been part of the Linux kernel for a long time. It has long been replaced by ALSA, which uses different devices, capabilities, and a different API.
However, there is a module for emulating clothing layers. If it can be used, loading the snd-pcm-oss
module ensures that you can use PCM devices via OSS, for example , / dev / dsp
.
Or stick to data transfer in aplay
or paplay
.
answered Dec 4 ’13 at 23:02
When I do this via sudo, I am always denied permission.
Following the instruction, it looks like you are running a meaningful test command, for example:
sudo cat file.wav> / dev / dsp
Also, you always get a “Permission Denied” message because your shell first tries to open / dev / dsp
for output before running the command (. - sudo
). To be able to open a shell as root for redirection, you need to do the following:
sudo sh -c 'cat file.wav> / dev / dsp'
answered Dec 4, 2013 at 10:55 pm
Alt = “”
Approved: Fortect
Fortect is the world's most popular and effective PC repair tool. It is trusted by millions of people to keep their systems running fast, smooth, and error-free. With its simple user interface and powerful scanning engine, Fortect quickly finds and fixes a broad range of Windows problems - from system instability and security issues to memory management and performance bottlenecks.
6,783
Outdated book in the form of notes.
To make the examples work on more modern Linux, where there are problems like
. the
chat music.wav> / dev / dsp
chat music.wav | the game
And someone who just did your first code porting! Win! Feel free to send specific corrections to the author of the book. 🙂
answered Jul 29, 2014 at 7:44 am
111
Speed up your computer's performance now with this simple download.