Bitstream control
[Mixer and Controls]

Control synchronous bitstream I/O. More...

Functions

HPI_ERR HPI_Bitstream_GetActivity (HPI_HSUBSYS *phSubSys, HPI_HCONTROL hControl, HW16 *pwClkActivity, HW16 *pwDataActivity)
 Returns 2 indicative measurements of the incoming data stream.

Detailed Description

Control synchronous bitstream I/O.

Only valid on ASI4346 adapters.


Function Documentation

HPI_ERR HPI_Bitstream_GetActivity HPI_HSUBSYS *  phSubSys,
HPI_HCONTROL  hControl,
HW16 *  pwClkActivity,
HW16 *  pwDataActivity
 

Returns 2 indicative measurements of the incoming data stream.

The clock input is deemed inactive if no data bytes are received within a certain number of calls to a polling routine. The time this takes varies according to the number of active streams. If there is clock activity, the data activity indicator is a sample of 16 bits from the incoming data. If this is persistently 0 or 0xFFFF, this may indicate that the data input is inactive.

Returns:
0 on success, or one of the HPI Error codes.
Parameters:
phSubSys  Subsystem handle
hControl  Handle to bitstream control
pwClkActivity  1==clock is active, 0==clock is inactive
pwDataActivity  1 word sampled from the incoming raw data


Generated on Tue Nov 18 12:59:30 2008 for AudioScience HPI by  doxygen 1.4.6-NO