LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 05-01-2003, 08:21 PM   #1
Aagrajag
LQ Newbie
 
Registered: May 2003
Posts: 6

Rep: Reputation: 0
ALSA Mixing Problem


I just installed the ALSA drivers on my notebook (Toshiba Satellite 5100, Intel i810 Chipset AC'97 sound, running kernel 2.4.21-pre6), and the quality is great compared to the OSSFree drivers. However...

I'm under the impression that ALSA can mix multiple software sound sources on a single piece of hardware, in the same fashion as EsounD. If this is incorrect, please forgive this post. Otherwise...

The problem is that, instead of mixing the inputs, the inputs are queued: e.g. When program A is using the soundcard, if program B tries to make a sound, that sound will not be produced until program A has finished with the soundcard.

If anyone can explain this behaviour, or suggest a remedy or alternative, I would be very grateful.

Thanks
 
Old 05-02-2003, 02:19 AM   #2
footfrisbee
Member
 
Registered: Apr 2003
Distribution: Debian Sarge
Posts: 259

Rep: Reputation: 30
You need to run a sound server to play multiple sounds at the same time. Alsa is a project that focuses on writing good sound card drivers (which they do quite well). You still need to use esound.
 
Old 05-02-2003, 04:40 AM   #3
Aagrajag
LQ Newbie
 
Registered: May 2003
Posts: 6

Original Poster
Rep: Reputation: 0
That's what I thought; however, EsounD worked well before installing the ALSA drivers ... but afterward, running the esound daemon causes all sound production to stop entirely. When I kill the esd, then sound begins again. Any ideas?

Thanks for the help.
 
Old 05-02-2003, 05:06 AM   #4
footfrisbee
Member
 
Registered: Apr 2003
Distribution: Debian Sarge
Posts: 259

Rep: Reputation: 30
You must make sure that esound is the only program grabbing /dev/dsp or whatever your sound device is. Try

% fuser -v /dev/dsp

This program will tell you what has a hold of your sound device (taken from the Sound-HOWTO).
 
Old 05-02-2003, 05:34 AM   #5
mhearn
LQ Guru
 
Registered: Nov 2002
Location: Durham, England
Distribution: Fedora Core 4
Posts: 1,565

Rep: Reputation: 57
ALSA has a dmix plugin, at some point in the future this will be available by default but it's still quite new. This will mostly eliminate the need for sound servers on Linux platforms.
 
Old 05-02-2003, 07:40 AM   #6
Aagrajag
LQ Newbie
 
Registered: May 2003
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks everyone, I think I have enough info to fix it now.
 
  


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
ALSA problems mixing sounds! Ian_Hawdon Linux - Software 4 09-02-2005 10:22 AM
audio mixing problem jonhewer Linux - Newbie 6 05-05-2005 11:53 AM
alsa and dmix for software mixing darkleaf Linux - Software 6 04-02-2005 02:20 AM
Alsa problems: Not enough substreams for hardware mixing Murri Mandriva 1 01-23-2005 09:35 AM
ALSA level mixing, possible? VIP3R Linux - Software 1 01-02-2004 12:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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