Data Fields | |
PaAsiHpiDeviceInfo * | hpiDevice |
HPI_HISTREAM | hpiStream |
HPI_FORMAT | hpiFormat |
HW32 | bytesPerFrame |
HW32 | hardwareBufferSize |
HW32 | hostBufferSize |
HW32 | outputBufferCap |
HW8 * | tempBuffer |
HW32 | tempBufferSize |
Stream component data (associated with one direction, i.e. either input or output)
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)
HPI_FORMAT PaAsiHpiStreamComponent::hpiFormat |
Stream format, as passed to HPI interface
HPI_HISTREAM PaAsiHpiStreamComponent::hpiStream |
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