LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   sudden sound problem (https://www.linuxquestions.org/questions/linux-newbie-8/sudden-sound-problem-330728/)

JoeUser11 06-05-2005 11:36 PM

sudden sound problem
 
I've been running SuSe9.3 for a long time, sound has always worked great. Now though whenever I try to play music I get these error boxes (from "Music Player"):
Quote:

Could not pause playback
Quote:

OSS device "/dev/dsp" is already in use by another program.
or this from mplayer
Quote:

[AO OSS] audio_setup: Can't open audio device /dev/dsp: Device or resource busy
applets don't play sound either.
I've tried restarting the computer... and that's about all the troubleshooting I know how to do. How can I get back my sound?

andygo 06-06-2005 01:53 AM

/sbin/fuser -v /dev/dsp will tell you which programme uses your sound card. I would kill it just for fun %-)
then crate /etc/asound.conf
pcm.ossmix {
type dmix
ipc_key 1027
slave {
pcm "hw:0,0"
period_time 0
period_size 1024
buffer_size 4096
rate 44100
}
bindings {
0 0
1 1
}
}

pcm.!default {
type plug
slave.pcm "ossmix"
}

ctl.mixer0 {
type hw
card 0
}
this will let two and more programms to use your soungcard
HAVE_FUN

adz 06-06-2005 06:11 AM

Did you recently install/upgrade/activate any KDE apps? They tend to launch arts which is a sound server and will block direct access to /dev/dsp.


All times are GMT -5. The time now is 05:41 AM.