LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 03-29-2006, 01:15 AM   #16
imitheos
Member
 
Registered: May 2005
Location: Greece
Posts: 441

Rep: Reputation: 141Reputation: 141

Quote:
Originally Posted by Electro
All Linux programs will only output 2 channels unless the source has encoded 6 channels. Outputting to 6 channels all the time will not work because each program have their way of handling ALSA requests. To make it even worst, your on-board sound can only handle one PCM stream at a time, so you have to use artd or esound to play multiple PCM streams at the same time.

An example to output 6 channels.
mplayer -ao alsa:device=surround51 -channels 6 dvd://

Outputting 6 channels all the time screws the quality of sound when hearing a two channel sound file. Audiophilies normally hear from only two channels.
You can transparently output from a 2channel audio to 6 channels using alsa dmix.
(http://alsa.opensrc.org/) Ofcourse this is done in software. You can just copy the channels to the other
speakers or fade them or anything.

You are right though that it is not the best thing to do from accoustic view.

Also the dmix plugin (default plugin in the newer alsa versions) supports mixing (as its name implies) and
you don't need arts or esound anymore.
 
Old 03-29-2006, 02:35 AM   #17
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
I would not use the word transparently because not all programs work well with one dmix setup. The term I would use is juggle.
 
  


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
debain good for.... invizioN Debian 7 11-08-2004 10:18 AM
debain AGilley007 Debian 7 07-18-2004 06:55 PM
debain bookdisk bruj3w Debian 1 07-18-2004 05:10 PM
Can't install Debain kjp_72 Linux - Distributions 2 04-21-2003 01:49 PM
debain and xfree86 crashmeister Linux - Distributions 3 06-07-2002 05:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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