ALSA Library Reference Manual
DECLARATION
struct snd_pcm_buffer_info
{
int fragments; /* # of available fragments (partially used ones not counted) */
int fragstotal; /* Total # of fragments allocated */
int fragsize; /* Size of a fragment in bytes */
int bytes; /* Available space in bytes (includes partially used fragments) */
};
REFERENCE