LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-09-2004, 02:45 PM   #1
InSane103
Member
 
Registered: Jul 2003
Location: Worst place on earth.
Distribution: MDK 10
Posts: 163

Rep: Reputation: 30
Full duplex sound


I am running Mandrake 10.

When I have more then program running that uses sound, only the program that is currently using the sound card plays any sound. All the other programs' sounds are queued.

For example I run a game or Noatun, something with a constant sound playback, and GAIM. The sounds from GAIM won't play until I stop the game, then they all play at once.

Is there a way to enable full duplex sound so that the sounds will all play when they are supposed to?
 
Old 05-09-2004, 05:23 PM   #2
Caeda
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Suse 6.0+, Mandrake 5.0-10.0, Redhat 6.0-9.0, Gentoo 1.2+, Gnoppix, Knoppix, Sabayon, Ubuntu 5.04+
Posts: 1,811

Rep: Reputation: 45
"Is there a way to enable full duplex sound"

Well most people would have just pulled up the appropriately named "Control Center" and clicked on the rather relavent area called "Sound" and found it in about 5 seconds.

Then again, most people would also not bother turning on full duplex since that's the ability to play and record sounds at the same time, not the ability for multiple programs to use the sound card. Set everything to use artsd as the sound output and it can mix. This will delay sounds 500-1200ms.
 
Old 05-10-2004, 05:12 AM   #3
InSane103
Member
 
Registered: Jul 2003
Location: Worst place on earth.
Distribution: MDK 10
Posts: 163

Original Poster
Rep: Reputation: 30
Before you yell, try Mandrake 10. There is no option for sound, only to choose my sound card driver.

I am not stupid, I checked.
 
Old 05-10-2004, 09:23 AM   #4
Caeda
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Suse 6.0+, Mandrake 5.0-10.0, Redhat 6.0-9.0, Gentoo 1.2+, Gnoppix, Knoppix, Sabayon, Ubuntu 5.04+
Posts: 1,811

Rep: Reputation: 45
Mandrake is a distro with KDE isnt it?

Because as long as you have KDE you have the "Control Center" and as long as you have the kde control center, you have a tab labled for the sound system with your sound system setting (arts). This isnt a removable feature, its part of kde.
 
Old 05-10-2004, 02:01 PM   #5
InSane103
Member
 
Registered: Jul 2003
Location: Worst place on earth.
Distribution: MDK 10
Posts: 163

Original Poster
Rep: Reputation: 30
Yeah, I have tried selecting the full duplex mode (multiple channels) in the KDE control center. This is not what I wanted, and I am not sure about what else I am to do.
 
Old 05-11-2004, 10:38 AM   #6
Caeda
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Suse 6.0+, Mandrake 5.0-10.0, Redhat 6.0-9.0, Gentoo 1.2+, Gnoppix, Knoppix, Sabayon, Ubuntu 5.04+
Posts: 1,811

Rep: Reputation: 45
"Set everything to use artsd as the sound output and it can mix. "

As I said above. That would be the only way to have multichannel sound. And it does introduce a large delay in sound while its mixed.
 
Old 05-11-2004, 02:05 PM   #7
InSane103
Member
 
Registered: Jul 2003
Location: Worst place on earth.
Distribution: MDK 10
Posts: 163

Original Poster
Rep: Reputation: 30
And I "set everything to use artsd as the sound output" how?
 
Old 05-11-2004, 03:42 PM   #8
Caeda
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Suse 6.0+, Mandrake 5.0-10.0, Redhat 6.0-9.0, Gentoo 1.2+, Gnoppix, Knoppix, Sabayon, Ubuntu 5.04+
Posts: 1,811

Rep: Reputation: 45
Well I don't know which programs you use at the same time or where all there menu settings are now do I? you'll just have to find the sound output driver setting in everything you use.
 
Old 05-11-2004, 04:46 PM   #9
mermxx
Member
 
Registered: Apr 2004
Location: Wales
Distribution: rh9, winxp
Posts: 411

Rep: Reputation: 30
the whole idea of posting replys to people who are having problems is to help them with constructive polite answers to their sometimes incomplete questions regarding their problems. I would imagine that sometimes after over 900 posts some questions may seem a bit inane to an "experienced" linux user. But to respond to someone in an unnecessary sarcastic manner when this person has over 140 posts and has probably offered their advice to others, is not the way to go!

This is a forum after all and if people were just reliant on search engines and not the beniefit of people who may have experienced similar problems, then there would be no use of forums. Every subject conceivable is available from a search engine and forums will get repetitive questions but if, indeed, we were all not wanting to share our answers, knowledge and problems with others then there would be no FORUM.

But . anyways to the prob...... what soundcard r u using?
 
Old 05-11-2004, 07:44 PM   #10
Caeda
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Suse 6.0+, Mandrake 5.0-10.0, Redhat 6.0-9.0, Gentoo 1.2+, Gnoppix, Knoppix, Sabayon, Ubuntu 5.04+
Posts: 1,811

Rep: Reputation: 45
"the whole idea of posting replys to people who are having problems is to help them with constructive polite answers "

All I see from you is whine whine whine...

I do not know what programs this, or any other user is using when they have these problems. There isnt a way for me to know the location of every single sound setting panel in every single program ever written for linux.

Therefore. "Your going to have to locate the settings on your own" Is about as helpful as a person can get. Any user who managed to get the operating system installed damn well better be able to find a simple settings menu.
 
Old 05-11-2004, 08:51 PM   #11
InSane103
Member
 
Registered: Jul 2003
Location: Worst place on earth.
Distribution: MDK 10
Posts: 163

Original Poster
Rep: Reputation: 30
"the whole idea of posting replys to people who are having problems is to help them with constructive polite answers"

You have not helped me at all. I am the one with the problem, you are the one not being polite, nor helping me. You are not being constructive, just making me mad.
 
Old 05-11-2004, 10:57 PM   #12
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Artsd is one service to handle playing back multiple sounds at once. I use ALSA and most programs are compatible with it. To setup ALSA to play multiple sounds, look for a file named ".asoundrc" (yes, there is a period in front of the 'a') in your home directory. If you do not have it just create one. Then add some lines. Below is an example what ".asoundrc" may look like.

Code:
pcm.!default {
  type plug
  slave.pcm "CS4630"
}

pcm.dsp0 {
  type plug
  slave.pcm "CS4630"
}

ctl.mixer0 {
  type hw
  card 0
}

pcm.CS4630 {
  type dmix
  ipc_key 1024
  slave {
    pcm "hw:0,0"
    period_time 10
    period_size 1024 # must be power of 2
    buffer_size 32768 # must be power of 2
    rate 48000
  }
  bindings {
    0 0   # from 0 => to 0
    1 1   # from 1 => to 1
  }
}
This what my .asoundrc looks like. The text that reads CS4630 is where you can put your own make up word or something. I used the module name so I can easily edit it. Do not include spaces because sound programs may not work. You can read more about .asoundrc at ALSA site and many other sites.

Like Caeda said, full duplux is for recording and playing at the same time. Its not playing several sound sources at the same time.
 
Old 05-12-2004, 01:58 AM   #13
vinay_s_s
Member
 
Registered: Jul 2003
Posts: 659

Rep: Reputation: 30
hey do u know what full duplex means ??
it means that u can do playback and record both at once and not that u can play multiple files at once!
 
Old 05-12-2004, 05:01 PM   #14
InSane103
Member
 
Registered: Jul 2003
Location: Worst place on earth.
Distribution: MDK 10
Posts: 163

Original Poster
Rep: Reputation: 30
I know what full duplex is, I wanted to enable BOTH full duplex AND multiple file playback.

You can all stop with the repetitive posts!
 
Old 05-12-2004, 08:16 PM   #15
LavaDevil94
LQ Guru
 
Registered: Jul 2003
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
Posts: 1,795

Rep: Reputation: 47
Is there any way to do multiple file playback without artsd?
 
  


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
full duplex chazzwozzer Linux - Networking 1 02-07-2005 02:11 PM
Full duplex sound sentinela Slackware 1 01-18-2005 11:32 AM
My sound card is not working at full duplex. mir_sheely Linux - Hardware 0 06-19-2004 06:00 AM
Full/Half Duplex??? LupusNebula Linux - Networking 8 02-04-2003 03:33 PM
Full duplex sound card tommylkc Linux - Hardware 1 06-28-2002 10:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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