Arch Linux Sound Device
I've seen commands and such like:
cat /dev/null > /dev/dsp
But I don't have a /dev/dsp or a /dev/audio.
I use alsa and my audio works, but I can't find where I would inject audio using cat and the command line.
Thanks in advance.
About this post
- Posted
- Archived
- Score
- 10 · 100% up
- Kind
- Text
- ID
- miczy
9 comments
use aplay if you want to know what your files sound like.
Cool, but isn't there a way to do this by routing it to a file that represents my sound device?
I'm afraid ALSA doesn't represent your sound cards as a file.
try this:
some info here
also, becareful when you use it because i think whatever program that uses /dev/dsp is going to hijack all your audio so you can't use other things that use alsa normally. i only have anecdotal evidence of this since there is one game that i play but when i play it, i have to make sure alsa is free so i get audio.
I did the modprobe and /dev/dsp and /dev/audio showed up, but I get:
You can only use the OSS-emulation device when your alsa device is free. If you want to use the dsp device at the same time as ALSA applications, you need to emulate it using osspd.
You can use OSS instead of ALSA (it’s OSS that uses /dev/dsp).
The wiki has a page about it.