LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 10-16-2004, 04:19 AM   #1
Jamel75
LQ Newbie
 
Registered: Jul 2004
Posts: 29

Rep: Reputation: 15
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 ..
 
Old 10-16-2004, 05:18 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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.
 
Old 10-16-2004, 05:47 AM   #3
Jamel75
LQ Newbie
 
Registered: Jul 2004
Posts: 29

Original Poster
Rep: Reputation: 15
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
 
Old 10-16-2004, 05:55 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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
}
 
Old 10-16-2004, 06:00 AM   #5
Jamel75
LQ Newbie
 
Registered: Jul 2004
Posts: 29

Original Poster
Rep: Reputation: 15
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
 
Old 10-16-2004, 06:02 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
you don't need anythign else, you just need to make alsa work better.
 
Old 10-16-2004, 06:32 AM   #7
Jamel75
LQ Newbie
 
Registered: Jul 2004
Posts: 29

Original Poster
Rep: Reputation: 15
Last questions : How do i modify the config file of Alsa and where do I find it ?

thx again man ..
 
Old 10-17-2004, 02:32 PM   #8
Jamel75
LQ Newbie
 
Registered: Jul 2004
Posts: 29

Original Poster
Rep: Reputation: 15
up..
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I run a program without sound? Heron Linux - Software 2 06-13-2005 04:16 AM
Sound Issues - Only one program can use sound at a time MrPeaches Fedora 1 04-23-2005 04:05 AM
SOUND issue maybe steming from arts program hirts123 Mandriva 3 02-19-2005 08:21 AM
how can multi program share one sound card duzhenhuan Linux - Hardware 1 04-11-2004 09:05 AM
Need a program that records sound rile Linux - Software 1 12-13-2003 12:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration