Name

snd_pcm_limit_hw_rates — determine rate_min/rate_max fields

Synopsis

int snd_pcm_limit_hw_rates (struct snd_pcm_runtime * runtime);
 

Arguments

runtime

the runtime instance

Description

Determines the rate_min and rate_max fields from the rates bits of the given runtime->hw.

Returns zero if successful.