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

Clemens Ladisch clemens at ladisch.de
Wed Nov 6 17:30:25 CET 2013


Dolevo Jay wrote:
> pcm.!default {
> 	type plug
> 	slave.pcm multi
> }
>
> pcm.multi {
>         slaves.a.pcm "hw:0,1";
>         slaves.b.pcm "hw:1,1";
> ...
>
> My purpose is to apply rate conversion to the "hw:1,1" and have 44100 rate
> out.

All slaves must use the same rate.

The easiest way is apply this to the plug plugin:

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


Regards,
Clemens


More information about the Alsa-devel mailing list