AFI2SBusCap Struct Reference

Structure encapsulating a particular I2S bus capability. More...

#include <AFI2SBus.h>

List of all members.

Public Member Functions

BOOL operator== (const AFI2SBusCap &other)
 Compares two AFI2SBusCap structures.
BOOL IsCompatible (const AFI2SBusCap &other)
 Compares two AFI2SBusCap structures for compatibility.

Public Attributes

AFI2SBCMode mode
AFI2SBCBitLength bitLength
AFI2SBCSamplingFrequency samplingFreq
AFI2SBCSampleRate sampleRate
AFI2SBCDataAlign dataAlign

Detailed Description

Structure encapsulating a particular I2S bus capability.

The purpose of this structure is to provide a convenient way for the CPU and the codec to report their I2S bus capabilities.

Definition at line 113 of file AFI2SBus.h.


Member Function Documentation

BOOL AFI2SBusCap::IsCompatible ( const AFI2SBusCap other  )  [inline]

Compares two AFI2SBusCap structures for compatibility.

Two I2S bus capabilities are defined as compatible if and only if all their fields except I2S mode match, and either one capability is in master mode and the other is in slave mode or at least one of them is in mixed mode.

Parameters:
other Reference to the capability to compare with.
Return values:
TRUE Capabilities are compatible.
FALSE Capabilities are not compatible.

Definition at line 158 of file AFI2SBus.h.

BOOL AFI2SBusCap::operator== ( const AFI2SBusCap other  )  [inline]

Compares two AFI2SBusCap structures.

Parameters:
other Reference to the capability to compare with.
Return values:
TRUE All the fields match.
FALSE Otherwise.

Definition at line 133 of file AFI2SBus.h.


Member Data Documentation

Definition at line 116 of file AFI2SBus.h.

Definition at line 119 of file AFI2SBus.h.

Definition at line 115 of file AFI2SBus.h.

Definition at line 118 of file AFI2SBus.h.

Definition at line 117 of file AFI2SBus.h.


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

Generated on Sun Sep 27 12:36:35 2009 for Audio Framework by  doxygen 1.6.1