LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 09-08-2003, 02:02 AM   #1
bkeating
Member
 
Registered: Mar 2002
Location: San Francisco, CA
Distribution: Open/FreeBSD, Gentoo, SuSE
Posts: 511

Rep: Reputation: 38
ALSA - thought it was supose to be better then this...


well, it can probably do what I want, just not as default..

installed ALSA, got it working on a gentoo 1.4 system...

but i can only play one sound source at a time.. any ideas? I'd like to listen to XMMS while watching movies w/sound
 
Old 09-08-2003, 02:10 AM   #2
Shade
Senior Member
 
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Blog Entries: 1

Rep: Reputation: 46
Listen to music and a movie?
heheh

Well, sound drivers can't manage many sounds at once, that's what a sound-server is for. KDE by default uses aRTs soundserver (analog Real-Time synthesizer). Gnome uses esound, which does basically the same thing. These daemons mix down audio output from one or more sources and enable simultaneous usage of your soundcard.

Try them out.

-Shade
 
Old 09-08-2003, 03:43 PM   #3
bkeating
Member
 
Registered: Mar 2002
Location: San Francisco, CA
Distribution: Open/FreeBSD, Gentoo, SuSE
Posts: 511

Original Poster
Rep: Reputation: 38
I was told that ALSA is a better, faster alternative to these deamons?

I've used both in the past and they are terribly slow (to respond).
 
Old 09-08-2003, 04:10 PM   #4
jpbarto
Senior Member
 
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Rep: Reputation: 45
I have a sound blaster card and with just the alsa driver loaded I can have xmms and xine running at the same time (both use the OSS -compatabile output plugin don't know if that makes a difference though).

jpbarto
 
Old 09-19-2003, 11:59 AM   #5
bkeating
Member
 
Registered: Mar 2002
Location: San Francisco, CA
Distribution: Open/FreeBSD, Gentoo, SuSE
Posts: 511

Original Poster
Rep: Reputation: 38
was this by default? or did you have to modify something?
 
Old 09-19-2003, 01:09 PM   #6
jpbarto
Senior Member
 
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Rep: Reputation: 45
I installed ALSA from source (I have an LFS system) and I think I had to tell XMMS (in its output plugins) to use OSS ... same with Xine.
 
Old 09-19-2003, 02:10 PM   #7
kev82
Senior Member
 
Registered: Apr 2003
Location: Lancaster, England
Distribution: Debian Etch, OS X 10.4
Posts: 1,263

Rep: Reputation: 51
alsa is a set of soundcard drivers/libs/tools and does not have the same functionality as arts or esound. the reason jpbarto can play more than one thing at once is because his soundcard supports more than 1 output channel, if he runs multiple versions of mpg123 or xmms then he will soon max out his sound card output channels. and will find he cant play anymore things.

ive never used arts but i dont have any problems with esound.
 
Old 09-19-2003, 02:13 PM   #8
jpbarto
Senior Member
 
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Rep: Reputation: 45
well there you have it. all the magic is gone now... sound channels huh? never did do much research into sound cards / how they work / etc.

kev82, just out of curiosity do you know off-hand how many sound channels the audigy supports? how many sound channels do sound cards usually support (like the ones commonly found integrated into motherboards?).

learn something new every day.

thanks,
jpbarto
 
Old 09-19-2003, 02:46 PM   #9
kev82
Senior Member
 
Registered: Apr 2003
Location: Lancaster, England
Distribution: Debian Etch, OS X 10.4
Posts: 1,263

Rep: Reputation: 51
i dont know a great deal about sound but ive just had a look through /proc and i get the impression that for each playback channel on card n there is a directory /proc/asound/cardn/pcmmp where m ranges from 0 to num channels - 1. the same is true for capture channels but they are pcmmc

ive searched for documentation on the alsa proc interface but have been unable to find any.

just for my interest would you mind confiming this for me. if you can play more than one thing at once you should have more than one /proc/asound/card0/pcm?p/ directory

Last edited by kev82; 09-19-2003 at 03:11 PM.
 
Old 09-19-2003, 03:11 PM   #10
jpbarto
Senior Member
 
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Rep: Reputation: 45
I'll have to take a look in proc when I get home thanks again.

bkeating how are you faring? what type of card are you using? can you go my route just using the drivers or are you going to give something like esound a try?
 
Old 09-19-2003, 07:08 PM   #11
bkeating
Member
 
Registered: Mar 2002
Location: San Francisco, CA
Distribution: Open/FreeBSD, Gentoo, SuSE
Posts: 511

Original Poster
Rep: Reputation: 38
I have EsounD (esd) installed and running.. i even directed XMMS to play through it but it's laggy... the stop/stop/seek response is slower then ALSA/OSS and it makes the eq in xmms delated. Is this how it's supose to run or can I modify this?
 
  


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
Trying something never thought of fakie_flip Linux - Software 3 11-21-2005 10:20 AM
routing i supose Cubiq Linux - Networking 6 10-24-2005 02:21 PM
Thought You'd Like To Know... E.T.Me LinuxQuestions.org Member Success Stories 1 11-16-2004 11:55 AM
how i supose to run file that ends with ".c" ? SlackwareMan Linux - Software 2 08-08-2004 11:14 PM
Redhat 9 disk space full when not supose to be? cyb0rg51 Linux - Newbie 6 04-25-2004 12:25 AM

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

All times are GMT -5. The time now is 02:39 AM.

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