change default audio device (debian woody)
After installing Debian, i have discovered that the audio device lives in /dev/audio and nigh every app is looking for it in /dev/dsp. how do i change this? or rather, how do i make this better?
thanks, pol |
There's no need to change this, Linux supports audio output both through /dev/audio and /dev/dsp. The only difference between them are the default settings of these devices, which every audio app will change to its needs. It only matters if you cat a file to the device for testing purposes. So if /dev/audio works, /dev/dsp does, too.
|
Solved, but not the way i expected
That was not entirely the case. cat'ing to /dev/audio was successful, but not to /dev/dsp. i explained the problem to a friend and he advised me to delete /dev/dsp and replace it with a sym link to /dev/audio. i did that and now everything works fine. will this fix cause more problems than it solves?
thanks, zhynn |
Don't know. catting to /dev/dsp does not work, you are expected to set some parameters via ioctl() first. Every audio app does that, so that is fine.
I suggest you remove the symlink, cd into /dev and run Code:
MAKEDEV audio |
All times are GMT -5. The time now is 10:46 PM. |