UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:audioengineendpoint.IAudioDeviceEndpoint.GetEventDrivenCapable |
IAudioDeviceEndpoint::GetEventDrivenCapable (audioengineendpoint.h) |
Indicates whether the device endpoint is event driven. The device endpoint controls the period of the audio engine by setting events that signal buffer availability. |
|
termserv\iaudiodeviceendpoint_geteventdrivencapable.htm |
TermServ |
56ed44ee-44dd-4a56-a4cc-2983d4802773 |
12/05/2018 |
GetEventDrivenCapable, GetEventDrivenCapable method [Remote Desktop Services], GetEventDrivenCapable method [Remote Desktop Services],IAudioDeviceEndpoint interface, IAudioDeviceEndpoint interface [Remote Desktop Services],GetEventDrivenCapable method, IAudioDeviceEndpoint.GetEventDrivenCapable, IAudioDeviceEndpoint::GetEventDrivenCapable, audioengineendpoint/IAudioDeviceEndpoint::GetEventDrivenCapable, termserv.iaudiodeviceendpoint_geteventdrivencapable |
audioengineendpoint.h |
Windows |
Windows 7 |
Windows Server 2008 R2 |
Windows |
19H1 |
|
|
|
|
|
|
The GetEventDrivenCapable method indicates whether the device endpoint is event driven. The device endpoint controls the period of the audio engine by setting events that signal buffer availability.
A value of TRUE indicates that the device endpoint is event driven. A value of FALSE indicates that it is not event driven. If the endpoint device is event driven, the audio engine can receive events from an audio device endpoint.
If the method succeeds, it returns S_OK.
Call the GetEventDrivenCapable method before calling the IAudioDeviceEndpoint::SetBuffer method, which initializes the device endpoint and creates a buffer. This allows the device endpoint to set up the structures needed for driving events.
If the audio engine requires an event driven device endpoint, it will:
- Create an event and set the event handle on the device endpoint by calling the IAudioEndpoint::SetEventHandle method.
- Specify event driven mode by setting the AUDCLNT_STREAMFLAGS_EVENTCALLBACK flag on the device endpoint by calling the IAudioEndpoint::SetStreamFlags method.