View Single Post
  #10 (permalink)  
Old 14-Jul-2009, 08:00
oldcpu's Avatar
oldcpu oldcpu is online now
Global Moderator
 
Join Date: Mar 2008
Location: Europe
Posts: 10,708
oldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of light
Default Re: Sound isn't working right

Quote:
Originally Posted by rks171 View Post
I downloaded the codecs you had listed in that link. Sound still didn't work (but the sound test did). I restarted the audio driver using

Code:
su -c 'rcalsasound restart'
and it started working right after. So what does this mean?
If the test sound worked, but other sounds did not work, and you had to type "rcalsasound restart", then that suggests to me that a badly behaved application had seized your sound, and did not let go of the sound driver. When you ran "rcalsasound restart" that basically forced a restart of alsa, taking away the sound from any badly behaved sound application.

You could identify what application had seized your driver (and did not let go) and then stop using that badly behaved application. To check, that is possible by typing in a konsole or terminal:
lsof /dev/dsp* /dev/audio* /dev/mixer* /dev/snd/*
Typically, one should run that when their sound works ok, with sound playing and without sound playing in order to get a flavour as to what it looks like with their hardare and functional sound configuration. Once that baseline is established, then also run that when one has a sound problem. Then compare the outputs.

Don't post the output here, as I am not interested in looking at it.

You could also try switching your output audio mode in all your multimedia applications to the alsa api (where the alsa api allows the sharing of audio) so that if an application is not letting go of the sound driver, it is at least still sharing it (with other alsa apps).
Reply With Quote