Re: [linux-audio-dev] Two / Three HDSPM Cards?

From: Clemens Ladisch <clemens@email-addr-hidden>
Date: Fri Jun 10 2005 - 10:49:38 EEST

Audio Developer wrote:
> bindings.112.slave b;
> bindings.112.channel 56;

This is the 113th channel.

> pcm.hdspm_112 {
> type multi;
> slaves.a.pcm hdspm_0;
> slaves.a.channels 56;
> slaves.b.pcm hdspm_1;
> slaves.b.channels 56;
> bindings.0.slave a;
> bindings.0.channel 0;
> bindings.1.slave a;
> bindings.1.channel 1;
> ...

The same definition could be written in the following form:

pcm.hdspm_112 {
        type multi
        slaves.a {
                pcm hdspm_0
                channels 56
        }
        slaves.b {
                pcm hdspm_1
                channels 56
        }
        bindings [
                { slave a channel 0 }
                { slave a channel 1 }
                { slave a channel 2 }
                ...
                { slave a channel 55 }
                { slave b channel 0 }
                ...
                { slave b channel 55 }
        ]
}

HTH
Clemens
Received on Fri Jun 10 12:15:07 2005

This archive was generated by hypermail 2.1.8 : Fri Jun 10 2005 - 12:15:07 EEST