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

Clemens Ladisch clemens at ladisch.de
Fri Jun 10 07:49:38 UTC 2005


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




More information about the Linux-audio-dev mailing list