ALSA Library Reference Manual
DECLARATION
typedef struct snd_pcm_channel_status
{
int channel; /* channel information */
int mode; /* transfer mode */
int status; /* channel status - SND_PCM_STATUS_XXXX */
unsigned int scount; /* number of bytes processed from playback/capture start */
struct timeval stime; /* time when playback/capture was started */
long long ust_stime; /* UST time when playback/capture was started */
int frag; /* current fragment */
int count; /* number of bytes in queue/buffer */
int free; /* bytes in queue still free */
int underrun; /* count of underruns (playback) from last status */
int overrun; /* count of overruns (capture) from last status */
int overrange; /* count of ADC (capture) overrange detections from last status */
char reserved[64]; /* must be filled with zero */
}
snd_pcm_channel_status_t;
REFERENCE