Hi!

There is a great way to test channels! In fact, the ALSA wiki should
mention it much more often, because it's not obvious for  unexperienced
users.

Setting up ALSA, you should only use speaker-test to test your setup,
like this:

speaker-test -c<X> -D<device> -twav

where <X> is the number of channels of your device and <device> the ALSA
device you're using. "-twav" is optional, it's just nicer to here a
voice than just white noise. If you don't have defined a device (in your
asoundrc file) yet (which you don't need), you have to use a predefined
device, like "default", "surround51", "surround40", "plughw:0,0" and so
on. Get a list of available devices with

aplay -L

If you use my example below, you should use "default" as device. You can
change its name by replacing "pcm.!default" by "pcm.upmix51", so you
would have to use "upmix51" as device with speaker-test.

What you have to do afterwards is make your applications use the device
you successfully tested with speaker-test. If "default" works fine, you
don't have to do anything for most (all?) applications. If you want to
use another device, either create an alias with

pcm.!default { slave.pcm "<your-device>" }

or configure your applications appropiately (How to do this, depends on
the application).

I'm going to improve the articles of the wiki in the next few months, so
if you have any further questions, go ahead and post them. Like this,
I'll know what's not clear yet and do the changes accordingly.

Regards, Ingo



Le mercredi 7 février 2007, Ingo Müller a écrit :
> > Hi!
> >
> > Just a *small* improvement/correction/idea about the upmixing device:
> >
> > pcm.!default {
> >    type route
> >    slave.pcm "dmix51"
> >    slave.channels 6
> >    ttable.0.0 1
> >    ttable.1.1 1
> >    ttable.0.2 1
> >    ttable.1.3 1
> >    ttable.0.4 0.5 #was 1
> >    ttable.1.4 0.5 #was 1
> >    ttable.0.5 0.5 #was 1
> >    ttable.1.5 0.5 #was 1
> > }



Frédéric COIFFIER schrieb:
> Hello,
> 
> I own a Terratec Aureon 5.1 USB and I'm unable to get an analogic 5.1 sound, 
> just stereo. (In fact, I have tested it with a 5.1 DVD and Mplayer)
> Have you a way to test it ? Have you a way to test separately each channel 
> (front left, rear left...) ?
> 
> Regards,
> Frederic
> 
> Le samedi 3 février 2007, Frank Barknecht a écrit :
>> Hallo,
>>
>> Jean-Michel Pouré hat gesagt: // Jean-Michel Pouré wrote:
>>> Master Playback Volume controls everything.
>> Yes, that's all the Aureon can do. This is not a problem with ALSA.
>>
>>> We should have seperate controls.
>> The Aureon doesn't have seperate controls, there's nothing we or you
>> can do about this, sorry. You have to do per-channel control in
>> software, just like it's done in MS-Windows.
>>
>> Ciao


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to