LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   change default audio device (debian woody) (https://www.linuxquestions.org/questions/debian-26/change-default-audio-device-debian-woody-69102/)

zhynn 06-30-2003 03:02 PM

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

Salz 07-01-2003 06:56 AM

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.

zhynn 07-04-2003 01:07 PM

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

Salz 07-04-2003 04:35 PM

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.