Re: ALSA sometimes runs sometimes not ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am 26.08.2010 13:37, schrieb Ralf Moeller:
> 
> Hi,
> 
> I have trouble on my server, soundinterface is setted up to use ALSA.
> sometimes it works fine, sometimes after reboot there's no sound.
> on pressing test-button in snd-prefs I get the message :
> 
> audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! 
> gconfaudiosink: Could not open audio device for playback.
> 
> when I do a reboot again, then it works again... :-?
> 
> in both cases I get message : starting ALSA : DONE
> in case that it does not work after a boot,
> and I try to select the ICH6 intel chip directly instead of ALSA
> some apps running, other apps requires ALSA to run...
> 
> what can I do to make the soundinterface working stable on all reboots?
> 
> BTW: even if ALSA works after reboot, there is one app on my server
> called xlite (sipphone) ... in its config I can only select "default"
> for soundoutput, no other entry, and it says "cannot open audio",
> on my last mainboard 1,5 weeks ago that app worked fine.
> so what went wrong?
> 
> can anyone helps me to understand ?


Maybe more than one applications are trying to dump some sounds and your
sound card supports only on stream at the time.
You could make a dmix plugin (software mixing) the default then
in /etc/asound.conf with something like:

pcm.dmixed {
    type dmix
    ipc_key 1021  # must be unique!
    slave {
        pcm "hw:0,0"  # The sound card
        period_time 0
        period_size 1024
        buffer_size 8192
        rate 48000
    }
}

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


Sebastian



------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux