Skip to content

Latest commit

 

History

History
84 lines (67 loc) · 3.2 KB

nf-audioengineendpoint-iaudiodeviceendpoint-setbuffer.md

File metadata and controls

84 lines (67 loc) · 3.2 KB
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.SetBuffer
IAudioDeviceEndpoint::SetBuffer (audioengineendpoint.h)
Initializes the endpoint and creates a buffer based on the format of the endpoint into which the audio data is streamed.
IAudioDeviceEndpoint interface [Remote Desktop Services]
SetBuffer method
IAudioDeviceEndpoint.SetBuffer
IAudioDeviceEndpoint::SetBuffer
SetBuffer
SetBuffer method [Remote Desktop Services]
SetBuffer method [Remote Desktop Services]
IAudioDeviceEndpoint interface
audioengineendpoint/IAudioDeviceEndpoint::SetBuffer
termserv.iaudiodeviceendpoint_setbuffer
termserv\iaudiodeviceendpoint_setbuffer.htm
TermServ
345a172b-11af-4c98-9f9c-54bfa38c5077
12/05/2018
IAudioDeviceEndpoint interface [Remote Desktop Services],SetBuffer method, IAudioDeviceEndpoint.SetBuffer, IAudioDeviceEndpoint::SetBuffer, SetBuffer, SetBuffer method [Remote Desktop Services], SetBuffer method [Remote Desktop Services],IAudioDeviceEndpoint interface, audioengineendpoint/IAudioDeviceEndpoint::SetBuffer, termserv.iaudiodeviceendpoint_setbuffer
audioengineendpoint.h
Windows
Windows 7
Windows Server 2008 R2
Windows
19H1
IAudioDeviceEndpoint::SetBuffer
audioengineendpoint/IAudioDeviceEndpoint::SetBuffer
c++
APIRef
kbSyntax
COM
Audioengineendpoint.h
IAudioDeviceEndpoint.SetBuffer

IAudioDeviceEndpoint::SetBuffer

-description

The SetBuffer method initializes the endpoint and creates a buffer based on the format of the endpoint into which the audio data is streamed.

-parameters

-param MaxPeriod [in]

The processing time, in 100-nanosecond units, of the audio endpoint.

-param u32LatencyCoefficient [in]

The latency coefficient for the audio device. This value is used to calculate the latency. Latency = u32LatencyCoefficient * MaxPeriod.

Note  The device that the endpoint represents has a minimum latency value. If the value of this parameter is less than the minimum latency of the device or is zero, the endpoint object applies the minimum latency. The audio engine can obtain the actual latency of the endpoint by calling the IAudioEndpoint::GetLatency method.
 

-returns

If the method succeeds, it returns S_OK.

If it fails, possible return codes include, but are not limited to, the following.

-remarks

The Remote Desktop Services AudioEndpoint API is for use in Remote Desktop scenarios; it is not for client applications.

-see-also

IAudioDeviceEndpoint