LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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-12-2004, 11:58 PM   #16
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled

Quote:
Originally posted by Electro
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.
Then for gaim use "aplay -D plug:dmix %s".

If you read my previous post, we can stop the repetive postings.
 
  


Reply



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 12:37 PM.

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