PaAsiHpiStreamInfo Struct Reference


Data Fields

HW16 state
HW32 bufferSize
HW32 dataSize
HW32 frameCounter
HW32 auxDataSize
HW32 totalBufferedData
HW32 availableFrames
int overflow
int underflow

Detailed Description

Stream state information, collected together for convenience

Field Documentation

HPI stream state (HPI_STATE_STOPPED, HPI_STATE_PLAYING, etc.)

Size (in bytes) of recording/playback data buffer in HPI driver

Amount of data (in bytes) available in the buffer

Number of frames played/recorded since last stream reset

Amount of data (in bytes) in hardware (on-card) buffer. This differs from dataSize if bus mastering (BBM) is used, which introduces another driver-level buffer to which dataSize/bufferSize then refers.

Total number of data frames currently buffered by HPI driver (host + hw buffers)

Size of immediately available data (for input) or space (for output) in frames. This only checks the first-level buffer (typically host buffer). This amount can be transferred immediately.

Indicates that hardware buffer is getting too full

Indicates that hardware buffer is getting too empty


The documentation for this struct was generated from the following file:

Generated on Sun Oct 12 15:36:25 2008 for PortAudio by  doxygen 1.5.6