DataFlow enumeration (devicetopology.h)

The DataFlow enumeration indicates the data-flow direction of an audio stream through a connector.

Syntax

typedef enum __MIDL___MIDL_itf_devicetopology_0000_0000_0011 {
  In = 0,
  Out
} DataFlow;

Constants

 
In
Value: 0
Input stream. The audio stream flows into the device through the connector.
Out
Output stream. The audio stream flows out of the device through the connector.

Remarks

The IConnector::GetDataFlow method uses the constants defined in the DataFlow enumeration.

The topology of a rendering or capture device on an audio adapter typically has one or more connectors with a data-flow direction of "In" through which audio data enters the device, and one or more connectors with a data-flow direction of "Out" through which audio data exits the device. For example, a typical rendering device on an adapter has a connector with data-flow direction "In" through which the Windows audio engine streams PCM data into the device. The same device has a connector with data-flow direction "Out" through which the device transmits an audio signal to speakers or headphones.

The topology of a rendering endpoint device (for example, headphones) has a single connector with data-flow direction "In" through which audio data (in the form of an analog signal) enters the device.

The topology of a capture endpoint device (for example, a microphone) has a single connector with data-flow direction "Out" through which audio data exits the device.

For more information, see Device Topologies.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Header devicetopology.h

See also

Core Audio Constants

Core Audio Enumerations

IConnector::GetDataFlow