[alsa-devel] How to apply rate conversion in asound.conf

Clemens Ladisch clemens at ladisch.de
Tue Nov 12 11:00:41 CET 2013


Dolevo Jay wrote:
> how can I call a plugin inside of another plugin?

The slave PCM name is the name of some pcm.xxx device.

> What I need to do now is to have a aosund.conf which has dmix into multi plugins together.

pcm.!default {
	type plug
	slave.pcm multi
}

pcm.multi {
	type multi
	slaves {
		a { pcm "hw:0,1" channels 2 }
		b { pcm "dmixer" channels 2 }
	}
	bindings [
		{ slave a channel 0 }
		{ slave a channel 1 }
		{ slave b channel 0 }
		{ slave b channel 1 }
	]
}

pcm.dmixer {
	type dmix
	...
}

But you need another dmix device for hw:0,1.


Regards,
Clemens


More information about the Alsa-devel mailing list