17 Jul
2008
17 Jul
'08
12:10 p.m.
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:
snd_pcm_hw_constraint_minmax(substream->runtime, SNDRV_PCM_HW_PARAM_RATE, fixed_rate, fixed_rate);
Takashi