LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 03-26-2004, 02:47 PM   #1
Rnd227
Member
 
Registered: Mar 2004
Location: Copenhagen, Denmark
Distribution: Mandrake 10.1 Community
Posts: 39

Rep: Reputation: 15
Can anyone explain the "mixer" system in arts ?


I'm running Mandrake 10 community (beta). My soundcard is recognized, no problem, running module snd-intel8x0 (ALSA)

My mail program is supposed to play a sound whenever it receives mail. And it does, but only if I don't have another application (typically XMMS) using sound.

I seem to be incapable to use sound from two sources at the same time.

I understand that this could be solved using "mixers", and that KDE's sound system, ARTS, in involved. But what and how, I can't figure out. Any hint or help would be greatly appreciated.

Last edited by Rnd227; 03-26-2004 at 02:49 PM.
 
Old 03-26-2004, 04:16 PM   #2
Redeye2
Member
 
Registered: Feb 2004
Posts: 489

Rep: Reputation: Disabled
Although arts is involved, it also depends of your soundcard driver. For example, my integrated nForce2's card default driver can only play 1 source at a time, so I get a lot of qued sounds when I exit a continuous sound stream program (like XMMS). A solution I've seen is to buy a card which has drivers that support various simultaneous streams like the Audigy for example. BTW, the Audigy is pretty much crap for me so I'd buy a Terratec or something like that but I haven't still researched about their linux support.
 
Old 03-27-2004, 01:02 AM   #3
Rnd227
Member
 
Registered: Mar 2004
Location: Copenhagen, Denmark
Distribution: Mandrake 10.1 Community
Posts: 39

Original Poster
Rep: Reputation: 15
The same sound card, in the sad days where that computer was running XP, could handle simultaneous sounds... so it has to be something else...
 
Old 03-27-2004, 04:46 AM   #4
Redeye2
Member
 
Registered: Feb 2004
Posts: 489

Rep: Reputation: Disabled
It's in fact the drivers because I too get multiple audio streams on Windows XP. Haven't tried nvidia's drivers yet, those might help
 
Old 07-30-2004, 12:17 PM   #5
Crasoum
LQ Newbie
 
Registered: Jul 2004
Posts: 1

Rep: Reputation: 0
Actually....

You'll have to have Alsa configured, and the full suite installed, (alsa-drivers, alsa-oss, alsa-tools, etc) for the most part, but otherwise a multiple sound script can be made to work on a intel8x0 or snd_intel8x0 chip built into many motherboards.



/etc/asoundrc (or ~/.asoundrc userlevel script) :
#beginning
pcm.dmixer { #this is loading the PCM information into a software sound mixer (dmixer) which routes through the card itself
type dmix #the mixer
ipc_key 1024
slave {
pcm "hw:0,0" #The card location, for soem it may ve hw:0,2, (Using digital out I believe) but the default should work for many
period_time 0
period_size 1024
buffer_size 8192 #buffers for 8Megs
rate 44100 #sound rate, CD quality,
}

bindings {
0 0 #Oss bindings, for two sounds at the same time, defaults should be fine
1 1 #can add 2 2.. 3 3.. ect till your hearts content, but the more you have th emore overhead for the bindings
}
}

pcm.dsp0 {
type plug #setting the dmixer as a type of plugin
slave.pcm "dmixer"
}

pcm.!default { #placing the default from XMMS and mplayer to be the mixed output
type plug
slave.pcm "dmixer"
}

pcm.default {
type plug
slave.pcm "dmixer"
}

ctl.mixer0 {
type hw
card 0
}
#end

Some of the information is not needed, but I was trying to point out what it was doing, options to use, and explain what happens
 
  


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
Please explain "386" vs. "686" versions vinoloco Linux - Newbie 4 04-05-2005 07:03 PM
Can you explain the difference between "Free Software (GNU)" and "Open Source"? vharishankar General 5 03-03-2005 09:40 AM
"User" & "System" CPU load difference JJX Linux - General 3 06-06-2004 01:42 AM
"X-MS" cant open because "x-Multimedia System" cant access files at "smb&qu ponchy5 Linux - Networking 0 03-29-2004 11:18 PM
Sound issue - "Couldn't open mixer device /dev/sound/mixer" zsejk Slackware 17 08-14-2003 10:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 12:43 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