EDataFlow enumeration (mmdeviceapi.h)
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 __MIDL___MIDL_itf_mmdeviceapi_0000_0000_0001 {
eRender = 0,
eCapture,
eAll,
EDataFlow_enum_count
} EDataFlow;
Constants
eRender Value: 0 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
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Header | mmdeviceapi.h |
See also
IMMDeviceEnumerator::EnumAudioEndpoints