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

Takashi Iwai tiwai at suse.de
Thu Jul 17 12:10:45 CEST 2008

At Wed, 16 Jul 2008 14:19:43 -0500,
Timur Tabi wrote:
> Takashi Iwai wrote:
> > In a simple case, you don't need hw_constraint functions.  Just
> > override the corresponding fields of runtime->hw in open callback.
> It looks like ASoC overwrites runtime->hw in *its* _open callback, so I have to
> use the hw_constraint functions.

Then you can call like:

		SNDRV_PCM_HW_PARAM_RATE, fixed_rate, fixed_rate);


More information about the Alsa-devel mailing list