Merk
Tilgang til denne siden krever autorisasjon. Du kan prøve å logge på eller endre kataloger.
Tilgang til denne siden krever autorisasjon. Du kan prøve å endre kataloger.
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
eRenderValue: 0 Audio rendering stream. Audio data flows from the application to the audio endpoint device, which renders the stream. |
eCaptureAudio capture stream. Audio data flows from the audio endpoint device that captures the stream, to the application. |
eAllAudio 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_countThe 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