LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-20-2005, 11:19 PM   #1
rahmed
Member
 
Registered: Feb 2004
Location: somewhere over the rainbow...
Distribution: Slackware 10.1
Posts: 166

Rep: Reputation: 30
how to share audio output?


i was wondering if its posible to share the audio output in linux, without using kde. what i mean is to play music in xmms and to have the sounds from gaim work at the same time. remember, i use a windowmanager, and dont plan on using some bloated desktopenviro. thanks
 
Old 02-20-2005, 11:30 PM   #2
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
http://www.alsa-project.org/alsa-doc...eneric#softmix

dunno if it will work for you but worth a shot.
 
Old 02-20-2005, 11:45 PM   #3
rahmed
Member
 
Registered: Feb 2004
Location: somewhere over the rainbow...
Distribution: Slackware 10.1
Posts: 166

Original Poster
Rep: Reputation: 30
yeah, i dont think that will work. any other suggestions?
 
Old 02-21-2005, 11:26 AM   #4
kornerr
Member
 
Registered: Dec 2004
Location: Russia, Siberia, Kemerovo
Distribution: Slackware
Posts: 893

Rep: Reputation: 35
What audio card do you have? I had prbl with my AC'97, now i haven't. When asking such questions - tell more info...
 
Old 02-21-2005, 01:22 PM   #5
oneandoneis2
Senior Member
 
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460

Rep: Reputation: 48
All I had to do to allow multiple apps to use sounds at the same time was create a file called .asoundrc with the contents below, and make sure everything was told to use ALSA (Gaim needs to be set to use the command "aplay %s" for this)

Quote:
pcm.dmixer {
type dmix
ipc_key 1024
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.!default {
type plug
slave.pcm "dmixer"
}

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

ctl.mixer0 {
type hw
card 0
}
 
Old 02-22-2005, 05:16 PM   #6
rahmed
Member
 
Registered: Feb 2004
Location: somewhere over the rainbow...
Distribution: Slackware 10.1
Posts: 166

Original Poster
Rep: Reputation: 30
sorry for not giving enough info, its funny because im scolding people for not giving info either. but yeah , its ac97 based. but there isnt any kind of software mixing or something like arts?
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
No sound output from audio CD ZeroIdea Linux - Software 4 09-25-2005 11:50 AM
Dump all audio output on a file cyclop Linux - Software 2 01-21-2005 08:53 AM
No Signal from digital audio output netsroht Linux - Hardware 2 06-28-2004 04:21 AM
no audio output pirozzi Red Hat 8 01-23-2004 11:05 PM
RedHat 8 NO CD audio output !! LordChaos Linux - Software 28 06-24-2003 12:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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