Subject: Re: [ecasound] ecasound with alsa
From: Jeremy Hall (jhall_AT_uu.net)
Date: Wed Sep 26 2001 - 17:48:17 EEST
If you use the plug layer, you can ask it for whatever you want and it
will give it to you.
so for ex I have:
pcm.dsp0 {
type plug;
slave.pcm rme9652;
ttable.0.0 1;
ttable.1.1 1;
ttable.0.2 1;
ttable.0.3 1;
}
This, when used as an output device, will take channels 0 and 1 and spread
it to 0 1 2 and 3. This is because I need to feed my monitors as well as
a headphone amp.
Then I can do:
ecasound -i file.raw -o alsa,dsp0
and all works fine--the plug layer converts from s32_le,26,44100 to
s16_le,2,44100. and because it is called pcm.dsp0, if I use libaoss, I
can use apps like mpg123 directly (the rme oss code is a bit wierd and
locks my machine)
_J
In the new year, martijn wrote:
> Once upon a Wed, Sep 26 2001, Kai Vehmanen hit keys in the following order:
> >
> > This probably explains it. The ALSA design philosophy is that absolutely
> > no audio format conversions are done in kernel-space (ie. in alsa-driver).
>
> that makes sence. i tried a bit more and found out that i have to specify 12
> channels for input and 10 channels for output. it's a bit strange because my
> soundcard only has 4 physical inputs and 4 physical outs.. it must have to do
> with the ice1712's capabilities that aren't implemented (physically) on the
> stripped down board called Audiophile.
>
> i assume that the output alsa,hw:0,0,0 mixes down everything in hardware,
> when i specify 10 or less mono input sources. (hmmm, maybe the 2 extra input
> channels can let me capture that mix down?). i've been experimenting a lot
> this afternoon and i think i understand how ecasound works now. i love it!
>
> thanks for all your help and this fantastic piece of perfect software.
>
> martijn
> --
> To unsubscribe send message 'unsubscribe' in the body of the
> message to <ecasound-list-request_AT_wakkanet.fi>.
>
-- To unsubscribe send message 'unsubscribe' in the body of the message to <ecasound-list-request_AT_wakkanet.fi>.
This archive was generated by hypermail 2b28 : Wed Sep 26 2001 - 17:44:49 EEST