Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
10-16-2004, 04:19 AM
|
#1
|
LQ Newbie
Registered: Jul 2004
Posts: 29
Rep:
|
Sound in two different Program
Hi everybody,
I'm wondering why Xmms don't work when I'm using Warcraft with WineX... It do this with all program, when a program using audio is running, another one can't run ... How can I manage to fix this ?
Thanks ..
|
|
|
10-16-2004, 05:18 AM
|
#2
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
you need to chose the type of audio output. if you run kde, try arts, on gnome use esd. you might also be able to use alsa. by default many programs just use oss output, which basically just grabs the soundcard for itself, ana locks everyone else out.
|
|
|
10-16-2004, 05:47 AM
|
#3
|
LQ Newbie
Registered: Jul 2004
Posts: 29
Original Poster
Rep:
|
I'm running Suse + KDE but I can't understand what you are asking me to change, I switched to Alsa, then OSS and change output device in Xmms and in Mplayer, to run the two at same time and have the sound from xmms & Mplayer but still no sound in the one launched in second ...
need help
|
|
|
10-16-2004, 05:55 AM
|
#4
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
if you're alerady on Alsa, then potentially your default caonfig doesn't use dmix to enable maultiple imports. you need to use the dmix plugin. http://www.pseudorandom.co.uk/2004/debian/alsa http://alsa.opensrc.org/index.php?page=DmixPlugin
my dmix enabled alsa config looks like this
Code:
pcm.dmixer {
type dmix
ipc_key 1024
ipc_perm 0666
slave {
pcm "hw:0,0"
period_time 0
period_size 1024
buffer_size 8192
rate 44100
}
bindings {
0 0
1 1
}
}
pcm.dsp0 {
type plug
slave.pcm "dmixer"
}
pcm.x {
type plug
slave.pcm "dmixer"
}
pcm.!default {
type plug
slave.pcm "dmixer"
}
pcm.default {
type plug
slave.pcm "dmixer"
}
ctl.mixer0 {
type hw
card 0
}
|
|
|
10-16-2004, 06:00 AM
|
#5
|
LQ Newbie
Registered: Jul 2004
Posts: 29
Original Poster
Rep:
|
Sorry I'm a bit noob, i can't understand nothing in the url you gave me ...I must install a program and configure it to make sound work on multiple program ? It's still appear strange that Suse 9.1 can't manage to do it without a program ...
thx for help
|
|
|
10-16-2004, 06:02 AM
|
#6
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
you don't need anythign else, you just need to make alsa work better.
|
|
|
10-16-2004, 06:32 AM
|
#7
|
LQ Newbie
Registered: Jul 2004
Posts: 29
Original Poster
Rep:
|
Last questions : How do i modify the config file of Alsa and where do I find it ?
thx again man ..
|
|
|
10-17-2004, 02:32 PM
|
#8
|
LQ Newbie
Registered: Jul 2004
Posts: 29
Original Poster
Rep:
|
up..
|
|
|
All times are GMT -5. The time now is 02:54 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|