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

HW16 PaAsiHpiStreamInfo::state

HPI stream state (HPI_STATE_STOPPED, HPI_STATE_PLAYING, etc.)

HW32 PaAsiHpiStreamInfo::bufferSize

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

HW32 PaAsiHpiStreamInfo::dataSize

Amount of data (in bytes) available in the buffer

HW32 PaAsiHpiStreamInfo::frameCounter

Number of frames played/recorded since last stream reset

HW32 PaAsiHpiStreamInfo::auxDataSize

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.

HW32 PaAsiHpiStreamInfo::totalBufferedData

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

HW32 PaAsiHpiStreamInfo::availableFrames

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.

int PaAsiHpiStreamInfo::overflow

Indicates that hardware buffer is getting too full

int PaAsiHpiStreamInfo::underflow

Indicates that hardware buffer is getting too empty


The documentation for this struct was generated from the following file:
Generated on Sun Feb 3 05:55:55 2008 for PortAudio by  doxygen 1.5.4