Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
xmms + q3 or skype?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
mikkoloo
Apprentice
Apprentice


Joined: 04 Nov 2003
Posts: 159
Location: .se and .nl

PostPosted: Thu Jun 30, 2005 8:17 pm    Post subject: xmms + q3 or skype? Reply with quote

I was just wondering what is needed to for example play sound in xmms and at the same time having sound in skype? Or xmms with games, whatever. I remember having this on my old emu10k1 soundcard. My current soundcard is a nforce3 intel thing using the intel8x0 module.

0000:00:06.0 Multimedia audio controller: nVidia Corporation nForce3 Audio (rev a2)
Back to top
View user's profile Send private message
tlailax
Apprentice
Apprentice


Joined: 22 Feb 2004
Posts: 187

PostPosted: Fri Jul 01, 2005 8:11 am    Post subject: Reply with quote

either a hardware mixing capable sound card (emu10k1) or a sound server like arts, or esd. for the latter to work every application you use needs to be able to talk to the arts server.
Back to top
View user's profile Send private message
mikkoloo
Apprentice
Apprentice


Joined: 04 Nov 2003
Posts: 159
Location: .se and .nl

PostPosted: Fri Jul 01, 2005 12:11 pm    Post subject: Reply with quote

well yea i have arts in kde, but i cant seem to have 2 sound sources at the same time. do i have to configure it further for it to work?
Back to top
View user's profile Send private message
russianpirate
Veteran
Veteran


Joined: 26 Sep 2004
Posts: 1167
Location: Detroit, MI

PostPosted: Fri Jul 01, 2005 3:38 pm    Post subject: Reply with quote

maybe all of those programs dont support arts so they use oss/alsa taking over the device
Back to top
View user's profile Send private message
mikkoloo
Apprentice
Apprentice


Joined: 04 Nov 2003
Posts: 159
Location: .se and .nl

PostPosted: Fri Jul 01, 2005 4:10 pm    Post subject: Reply with quote

very possible. but this hardware mixing, is that handled by the driver alone?
i dont wanna drag up windows all the time but there it works with more sound sources.
Back to top
View user's profile Send private message
neonknight
Guru
Guru


Joined: 19 Jul 2003
Posts: 357
Location: Zurich, Switzerland

PostPosted: Fri Jul 01, 2005 4:43 pm    Post subject: Reply with quote

arts has a wrapper to start applications which do not support arts natively. I guess it's call artswrapper or so (I'm a hardcore gnome-user ;) ).

Hardware-mixing is done by the hardware (guess where its name comes from ;) ), so changing the driver will have no effect at all. You will need another soundcard. emu10k1 is the driver for soundblaster-cards. My "soundblaster live" supports this hardware-mixing, so I can listen to several audio-sources without configuring any software-mixer.
Back to top
View user's profile Send private message
KrissN
n00b
n00b


Joined: 25 Sep 2004
Posts: 54
Location: Kedzierzyn-Kozle@Poland

PostPosted: Fri Jul 01, 2005 5:38 pm    Post subject: Reply with quote

You could try to tell XMMS to redirect sound to the second DAC of your sound card (every full-duplex ones should have two of them). If you're using the ALSA output plugin, just go to the configuration dialog and change the device from default to "??? (hw:0,1)" (??? would stand for the name of your sound card).
This way you'll leave the primary DAC to be used by any other app.
Back to top
View user's profile Send private message
igoldtho
n00b
n00b


Joined: 20 Apr 2003
Posts: 22

PostPosted: Sat Jul 02, 2005 4:35 am    Post subject: esd? Reply with quote

I wonder if esound can somehow be used? I can play an mp3 using 'mpg321 -o esd -a localhost <trackname>' while xmms is already playing a different track (using the esound output plugin). Trouble is, Skype only seems to know how to output to /dev/dsp*. As for as I can see as soon as a process is using /dev/dsp* another process that tries will get an error. If skype could be tricked somehow into using esd instead...


(if you don't have esound)

Code:

emerge esound
/etc/init.d/esound start
rc-update add esound default
Back to top
View user's profile Send private message
mikkoloo
Apprentice
Apprentice


Joined: 04 Nov 2003
Posts: 159
Location: .se and .nl

PostPosted: Sat Jul 02, 2005 11:14 pm    Post subject: Reply with quote

but if its hardware related, how come windows can handle it for example? well yea its a complete other os. but if another os can handle it it cant really be all up to the hardware, right?

Quote:
Trouble is, Skype only seems to know how to output to /dev/dsp*. As for as I can see as soon as a process is using /dev/dsp* another process that tries will get an error. If skype could be tricked somehow into using esd instead...

yea skype isnt really configurabe right now is it?
Back to top
View user's profile Send private message
tlailax
Apprentice
Apprentice


Joined: 22 Feb 2004
Posts: 187

PostPosted: Sun Jul 03, 2005 10:35 am    Post subject: Reply with quote

maybe this will help with skype ?

http://www.skype.com/help/guides/soundsetup_linux.html

and as for windows, maybe the driver there (or the os) does some mixing in software transparantly. maybe there is a "sound server", they just don't mention it because the user wouldn't care to know.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum