PaAsiHpiStreamComponent Struct Reference

Data Fields

PaAsiHpiDeviceInfohpiDevice
HPI_HISTREAM hpiStream
HPI_FORMAT hpiFormat
HW32 bytesPerFrame
HW32 hardwareBufferSize
HW32 hostBufferSize
HW32 outputBufferCap
HW8 * tempBuffer
HW32 tempBufferSize

Detailed Description

Stream component data (associated with one direction, i.e. either input or output)


Field Documentation

Number of bytes per frame, derived from hpiFormat and saved for convenience

Size of hardware (on-card) buffer of stream in bytes

Size of host (BBM) buffer of stream in bytes (if used)

Device information (HPI handles, etc)

Stream format, as passed to HPI interface

Stream handle, as passed to HPI interface. HACK: we assume types HPI_HISTREAM and HPI_HOSTREAM are the same... (both are HW32 up to version 3.00 of ASIHPI, and hopefully they stay that way)

Upper limit on the utilization of output stream buffer (both hardware and host). This prevents large latencies in an output-only stream with a potentially huge buffer and a fast data generator, which would otherwise keep the hardware buffer filled to capacity. See also the "Hardware Buffering=off" option in the AudioScience WAV driver.

Sample buffer (halfway station between HPI and buffer processor)

Sample buffer size, in bytes


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

Generated for PortAudio by  doxygen1.6.1