LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 10-05-2003, 04:19 PM   #1
Alien Venom
LQ Newbie
 
Registered: Sep 2003
Posts: 5

Rep: Reputation: 0
AD1980 Sound Problem


I have the latest Alsa (v. 0.9.7) drivers installed and an on-board AD1980 sound card.

Sound currently works (sorta).

When I listen to something in XMMS (using the alsa plugin) for example, and receive a message from Gaim, it puts the Gaim sound in a queue and plays it when I stop XMMS. Other programs will "hang" when they try to use the sound card (mplayer, vlc, ect...)

With the latest alsa drivers, how can I configure it so more than one application can use my sound card at once?

I have the default settings, as specified in the alsa sound card matrix documentation. Unfortunately, since this is my first post, I am unable to post a URL to what my modules.conf looks like.

Any ideas?

- Brian
 
Old 10-05-2003, 07:26 PM   #2
pesho_p
Member
 
Registered: Oct 2002
Location: 42° 42' N, 23° 19' E
Distribution: Slackware 8.1
Posts: 77

Rep: Reputation: 15
Take a look here - http://www.ukuug.org/events/linux200.../soundsystems/:
Quote:
Many sound cards support only one PCM stream for each playback and capture, and the driver allows one process to access it exclusively. That is, if you access to a device from two or more applications at the same time, only one application can run and others will be blocked until it quits the operation. For solving this problem, a sound server is introduced. Instead of reading and writing a device file, applications access to a sound server, which accesses to the device exclusively on behalf. For multiple playbacks, a sound server reads multiple PCM streams from several applications and writes a mixed stream to the sound device (mixing function). For the capture direction, on the contrary, a sound server writes the PCM streams from the device to any accessing applications (multiplexing). Also, the samples being played by EsounD can be captured (loopback).
i.e. you'll need some sort of a sound server, because your so-called "sound card" doesn't have support for more that one sound stream at once.
My sound card, for example, is SB Live! 4.1 (5 years old now) and I don't have any problems playing sounds from many applications at once. If this is a viable option for you, buy one SB Live! 5.1 for about $30-$35 (or Yamaha 7{2,4,5}4) or something similar that have built-in (hardware) mixing support and forget for all those troubles.
 
Old 10-05-2003, 08:07 PM   #3
Alien Venom
LQ Newbie
 
Registered: Sep 2003
Posts: 5

Original Poster
Rep: Reputation: 0
Well, all I want to run is something simple. I run WindowMaker with the latest Alsa drivers -- very minimal. What would be the best option for a sound server, something not too clunky? I really dislike Arts for that (I used KDE a while back).
 
Old 10-05-2003, 08:23 PM   #4
Alien Venom
LQ Newbie
 
Registered: Sep 2003
Posts: 5

Original Poster
Rep: Reputation: 0
On a side note, a friend of mine who is a huge debian fan and has no idea what I should do in regard to having multiple programs use the sound card at once, he says that sound cards have been able to do multiple processes for years. It's a 6 channel (5.1) sound card and should be able to handle it.

The motherboard, an Asus P4PE with the on-board sound chip AD1980 is not that old...

I don't think I should have to use a sound server, but I will if I really have to. In any event, I'm still open to ideas. Arts is crap because KDE is crap and bloated. Any ideas?

How about a response from someone with the same board/sound card? Please.
 
Old 10-05-2003, 09:57 PM   #5
pesho_p
Member
 
Registered: Oct 2002
Location: 42° 42' N, 23° 19' E
Distribution: Slackware 8.1
Posts: 77

Rep: Reputation: 15
Quote:
On a side note, a friend of mine who is a huge debian fan and has no idea what I should do in regard to having multiple programs use the sound card at once, he says that sound cards have been able to do multiple processes for years.
Yes, real sound cards are for sure capable to play more than one sound stream at once. If I'm not mistaken my 5 year old SB Live! 4.1 (for example) is capable to do 64 streams at once in hardware.

Quote:
It's a 6 channel (5.1) sound card and should be able to handle it.

The motherboard, an Asus P4PE with the on-board sound chip AD1980 is not that old...
Stop refer to this misunderstanding called AD1980 (or whatever) as 'sound card', because it is not! Not only it is not sound card but never will be! My trustworthy SB Live! 4.1 is example for real sound card and is for sure capable to fly circles around your new "sound card" (just el chipo AC97 codec promoted to the rank of 'sound card' for purely marketing purposes). Learn the difference between 'sound card' and AC97 codec (Audio Codec, '97) for god's sake…

Quote:
I don't think I should have to use a sound server, but I will if I really have to. In any event, I'm still open to ideas. Arts is crap because KDE is crap and bloated. Any ideas?
I really don't know what should you use, simply because I never have felt need to use sound server. Save yourself some troubles and become a proud owner of SB Live! 5.1 (or Yamaha 754/744/724 or something real that is capable to do more than one sound stream at once in hardware (i.e. real sound card with its own processor on board; JFY: SB Live! have EMU10K1 processor on board which is capable to deliver 1000 MIPS (millions instructions per second) - rough equivalent of Pentium 90 MHz)).
However if you insist on AD1980 then maybe you're supposed to use EsounD (becouse aRts is "crap" according to you. I for one think that the real 'crap' is your "sound card" in fact).
 
Old 10-05-2003, 10:06 PM   #6
Alien Venom
LQ Newbie
 
Registered: Sep 2003
Posts: 5

Original Poster
Rep: Reputation: 0
My card can do more than one stream at once... in Windows. I was looking for some advice in configuring alsa so that I can have the same functionality, not insults. Since you're not familiar with my sound codec, card, or whtaever you want to call it, I'm going to disregard whatever you say because I shouldn't have to use a sound server.

In any event, specification wise, my sound "codec" kicks the crap out of your SBLive 4.1. No only is it 6 cannel (5.1) it support both digital RCA and SPDIF out -- something that yours does not.
 
Old 10-05-2003, 10:27 PM   #7
pesho_p
Member
 
Registered: Oct 2002
Location: 42° 42' N, 23° 19' E
Distribution: Slackware 8.1
Posts: 77

Rep: Reputation: 15
Quote:
My card can do more than one stream at once... in Windows.
Yes, it can, but only because there is driver available for such purpose. It does exactly the same what sound surver under Linux will do i.e. it mixes everything in software using your CPU:
Quote:
For multiple playbacks, a sound server reads multiple PCM streams from several applications and writes a mixed stream to the sound device (mixing function).
Quote:
Since you're not familiar with my sound codec, card, or whtaever you want to call it, I'm going to disregard whatever you say because I shouldn't have to use a sound server.

In any event, specification wise, my sound "codec" kicks the crap out of your SBLive 4.1. No only is it 6 cannel (5.1) it support both digital RCA and SPDIF out -- something that yours does not.
I'll be laconic and this will be my last post in this thread: Never argue with an idiot. They'll lower you to their level and then beat you with experience.
 
Old 10-20-2003, 05:53 AM   #8
Alien Venom
LQ Newbie
 
Registered: Sep 2003
Posts: 5

Original Poster
Rep: Reputation: 0
I still haven't gotten this issue worked out. Please, someone with experience using this (or similar soundcard/motherboard) give me some advice.
 
  


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
No sound with ADI AD1980 integrated sound card Comptalk Red Hat 2 02-07-2005 05:08 AM
Help! No sound using AD1980 Mandrake 9.1 / KDE Muscles Linux - Newbie 16 01-28-2005 07:22 AM
AD1980 sound on Suse 9.0 olorin Linux - Newbie 1 08-28-2004 08:00 PM
No sound, using ADI AD1980 audio coyote399 Linux - Software 9 04-06-2004 01:52 AM
Asus P4PE Mobo sound problem (have AD1980) joolee00 Linux - Software 4 07-23-2003 01:15 PM

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

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