mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-31 22:25:35 -04:00
Added overrange function
This commit is contained in:
parent
791ee4298e
commit
14d38d4bb8
2 changed files with 19 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue