Linux - SoftwareThis 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.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
ALSA "locks up" the soundcard, so only one program can use the soundcard at a time. I can't listen to music and use GAIM at the same time. What happens is, the music keeps playing untill the end of the song then I get a series of queued beeps from ALSA, then the music begins again.
How can I fix this?
I'm sorry if this has been asked before. I searched, but I didn't quite know what to search for.
EDIT: er, appearently it's caused some problems with xmms. It'll just stop playing a song right in the middle. It stops at the same place every time, and it doesn't stop with OSS, but then I can't hear GAIM. what do I do?
Last edited by slackwarefan; 05-03-2005 at 09:37 PM.
I've found that the problem, which eventually leads to me not being able to use sound at all, is aplay having about a hundred instances running at once. All my sound issues cleared up when I ran killall aplay, but that only works untill it starts running multiple instances of itself again.
What do you have in the command box in the GAIM preferences? The reason I ask is that if 'aplay' is run without a file argument, it stays running doing nothing, which looks like what's happening to you.
This is a known bug in the version of dmix you're using. I have the same problem. Upgrading alsalib is likely to fix it - unfortunately dmix has been unstable until very recently and tends to deadlock the audio pipeline etc.
It seems I can't upgrade alsalib, I've got ALSA compiled into the kernel, and when I try to compile alsalib, it says I need alsa-driver, and when I run ./configure for that, it says I can't use the version compiled into the kernel. Any way around this?
I did upgrade the kernel, but sadly, I found that sound would still stop in xmms at some point in a song. So I decided to look around the xmms options.
When using ALSA, there's an option to use Mmap mode. I had this checked. When I unchecked it, everything worked fine. So, what exactly is Mmap mode? I assume it means Memory Map Mode, but what exactly would that be?