EDataFlow enumeration

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

Syntax


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

Constants

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

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Mmdeviceapi.h

See also

Core Audio Enumerations
IMMDeviceEnumerator::GetDefaultAudioEndpoint
IMMDeviceEnumerator::EnumAudioEndpoints
IMMEndpoint::GetDataFlow
IMMNotificationClient::OnDefaultDeviceChanged

 

 

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.