- fixed the rate selection in the plug layer:

the multiples of the given rate is chosen if available.
  the nearest rate is selected as usual if not available.
This commit is contained in:
Takashi Iwai 2003-01-27 11:34:50 +00:00
parent 0c156a3c89
commit 1b41de0653
3 changed files with 27 additions and 2 deletions

View file

@ -488,6 +488,10 @@ void snd_pcm_hw_param_refine_near(snd_pcm_t *pcm,
snd_pcm_hw_params_t *params,
snd_pcm_hw_param_t var,
const snd_pcm_hw_params_t *src);
void snd_pcm_hw_param_refine_multiple(snd_pcm_t *pcm,
snd_pcm_hw_params_t *params,
snd_pcm_hw_param_t var,
const snd_pcm_hw_params_t *src);
int snd_pcm_hw_param_empty(const snd_pcm_hw_params_t *params,
snd_pcm_hw_param_t var);
int snd_pcm_hw_param_always_eq(const snd_pcm_hw_params_t *params,