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

Takashi Iwai tiwai at suse.de
Mon Jun 23 14:10:31 CEST 2008


At Mon, 23 Jun 2008 07:08:22 -0500,
Timur Tabi wrote:
> 
> 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* 
> restriction?

Yes.


Takashi


More information about the Alsa-devel mailing list