EDataFlow Enumeration

Previous Next

EDataFlow Enumeration

The EDataFlow enumeration defines constants that indicate the direction in which audio data flows between an audio endpoint device and an application.

typedef enum {
  eRender,
  eCapture,
  eAll,
  EDataFlow_enum_count
} EDataFlow;

Members

eRender

Audio rendering stream. Audio data flows from the application to the audio endpoint device, which renders the stream.

eCapture

Audio capture stream. Audio data flows from the audio endpoint device that captures the stream, to the application.

eAll

Audio rendering or capture stream. Audio data can flow either from the application to the audio endpoint device, or from the audio endpoint device to the application.

EDataFlow_enum_count

The number of members in the EDataFlow enumeration (not counting the EDataFlow_enum_count member).

Remarks

The IMMDeviceEnumerator::GetDefaultAudioEndpoint, IMMDeviceEnumerator::EnumAudioEndpoints, IMMEndpoint::GetDataFlow, and IMMNotificationClient::OnDefaultDeviceChanged methods use the constants defined in the EDataFlow enumeration.

Requirements

Client: Windows Vista

Header: Include Mmdeviceapi.h

See Also

Previous Next