[alsa-devel] Requiring the same sample rate for playback and record?

Timur Tabi timur at freescale.com
Mon Jun 23 14:08:22 CEST 2008

Takashi Iwai wrote:

> Right now there is no "elegant" way for this, unfortunately.
> A common way many drivers use is to remember the rate of the first
> stream, then add it to hw_constraint of the secondary streams.
> But, this could be also a bit racy (unavoidable due to its design)
> although practically it seems working.

Ok, thanks.  I assume the same solution applies if I have a sample *format* 

Timur Tabi
Linux Kernel Developer @ Freescale

More information about the Alsa-devel mailing list