On Saturday 21 January 2006 11:08, HEDGER, Tim, FM wrote:
>Whilst I'm reasonably comfortable with Linux, sound continues to
> mystify me. I have managed to get all the applications that I want to
> use working with Sound on my FC4 AMD64 machine, the main ones being:
>
>* xine
>
>* rosegarden
>
>* kaffeine (for its DVB capabilities)
>
>* Skype
>
>That's all fine except when I try and do more than one thing at once. 
> My specific issue is having Skype running all the time, so that it
> can pop up if someone calls or when I want to use it, and from time
> to time I use kaffeine.
>
>If I start kaffeine but don't play anything with it, it doesn't use
> the sound device and all is well.  But the moment I play a file, or
> watch DVB, the sound device is used, and then Skype can't get it when
> it wants to use it.
>
>I run skype as:
>
>asrtsdsp -m skpe
>
>(following many web trawls as this was the only way I could find to
> get it to work with sound).
>I haven't done any special sound config for kaffeine, it just works.
>
>So I need some way of allowing multiple applications to use sound at
> the same time, rather than one blocking the other out.  (After I've
> used kaffeine, it isn't sufficient to just stop playing something
> with sound, I have to kill the application before skype is able to
> get the sound device).
>
>Can anyone give me some guidance?
>
I solved that problem here by investing in an SB Audigy2 Value card, and 
configuring it to be the default device, relegating the motherboards 
NForce2 audio to snd-card-1 status.

Then I use skype by actually launching skype_dsp_hijacker --2nd, which 
redirects all accesses to the second sound channel, rather nice since 
skype gives no facilities to switch its transmission channel away 
from /dev/mixer which is a link to /dev/mixer0.  skype_dsp_hijacker 
hands it /dev/mixer1, and skype & system sounds are then isolated from 
each other and can run concurrently.

Now all the system related stuffs then come thru snd-card-0 and skype 
gets snd-card-1 all to itself.  And skype_dsp_hijacker serves as the 
skype launcher in your X screen icon's properties.

This gets rather verbose in my modprobe.conf (yeah, I'm still running 
FC2, but with bleeding edge kernels), so the best way to show how thats 
all initialized is by a snip from my modprobe.conf:
-------------
# sound stuff, subject to heavy mods in future
# For Alsa
# 1st, make the SB Live or SB Audigy 2 the default
alias snd-card-0 snd-emu10k1

# 2nd, and then skype can use /dev/dsp1
alias snd-card-1 snd-intel8x0

# For Alsa's Oss emulation I think
alias snd-slot-0 snd-card-0
alias snd-slot-1 snd-card-1

# Alsa's Oss emulation
# supposedly for emu10k1/SBLive Value/Audigy 2 Value stuff
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
# supposedly for nforce2's ac97 emulation
# But somethings fubar here yet.
alias sound-service-1-0 snd-mixer-oss
alias sound-service-1-1 snd-seq-oss
alias sound-service-1-3 snd-pcm-oss
alias sound-service-1-8 snd-seq-oss
alias sound-service-1-12 snd-pcm-oss
# But, whats this?
alias char-major-116-* snd
alias char-major-14-* sound
install synth0 /bin/true
# end of sound
------------
Hopefully, that will help clarify things.  And I'm not saying its 
correct, but it is working.

FWIW, I do get, from logwatchs daily mailing, messsages like this:
 --------------------- ModProbe Begin ------------------------ 

Errors running install command:
   sound_slot_2  : 10 Time(s)

 ---------------------- ModProbe End ------------------------- 
As I don't have a sound_slot_2 defined, the src of these messages has 
puzzled me for years because before the second card was installed, the 
message complained about sound_slot_1, I just checked back in my logs 
to confirm that.

-- 
Cheers, Gene
People having trouble with vz bouncing email to me should add the word
'online' between the 'verizon', and the dot which bypasses vz's
stupid bounce rules.  I do use spamassassin too. :-)
Yahoo.com and AOL/TW attorneys please note, additions to the above
message by Gene Heskett are:
Copyright 2005 by Maurice Eugene Heskett, all rights reserved.


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to