LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 01-27-2005, 09:41 AM   #1
Erik Plaggenmar
Member
 
Registered: Apr 2004
Location: Netherlands
Distribution: Debian Testing
Posts: 70

Rep: Reputation: 15
Application using sound, blocks access to soundcard for other applications??


Hi,
I recently installed Debian on my laptop... Everything is working OK
One problem is that my soundcard can only be used by one application at a time, example: i'm playing music in xmms, i can't hear the Gaim sounds, or: i'm playing a movie in MPlayer, when i want to start xmms, xmms says that the soundcard is in use.

The soundcard in my laptop is a nForce onboard sound and i'm using ALSA...

Can anybody help me with this problem or knows any solution, how all the programs can access the soundcard?

Greetz, Erik
 
Old 01-27-2005, 11:05 AM   #2
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 57
Either use the Alsa dmix plugin or use a dedicated sound server. Both essentially do the same: They mix audio streams from different programs to one single stream which is sent to the sound card. Sound servers include esound (Enlightenment, Gnome) and arts (KDE).

This is what I use in my ~/.asoundrc on my laptop with nforce3 audio to make ALSA mix it down for me without a sound server:
Code:
 
pcm.!default {
  type plug
  slave.pcm "dmixer"
}
pcm.dsp0 {
  type plug
  slave.pcm "dmixer"
}
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
  }
}

ctl.dmixer {
  type hw
  card 0
}
Håkan
 
  


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
KDE blocks sound? cant play sound from other programs. Smurfen Linux - Hardware 1 04-02-2005 07:14 PM
iptables blocks access to network leupi Linux - Networking 3 03-29-2005 09:23 AM
Win2K blocks Unix webserver access danheneise Linux - Networking 2 06-01-2004 06:17 PM
VPN blocks internet access from laptop cmisip Linux - Security 6 07-16-2003 05:33 AM
non-contiguous blocks and /home access pteren Linux - General 1 02-26-2003 07:06 AM


All times are GMT -5. The time now is 05:23 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration