Added overrange function

This commit is contained in:
Jaroslav Kysela 2001-10-23 09:51:45 +00:00
parent 791ee4298e
commit 14d38d4bb8
2 changed files with 19 additions and 6 deletions

View file

@ -4078,6 +4078,16 @@ snd_pcm_uframes_t snd_pcm_status_get_avail_max(const snd_pcm_status_t *obj)
return obj->avail_max;
}
/**
* \brief Get count of ADC overrange detections since last call
* \return Count of ADC overrange detections
*/
snd_pcm_uframes_t snd_pcm_status_get_overrange(const snd_pcm_status_t *obj)
{
assert(obj);
return obj->overrange;
}
/**
* \brief get size of #snd_pcm_info_t
* \return size in bytes