IltmmWMStreamConfig::put_BufferWindow

Summary

Sets the latency in milliseconds between the stream reception and display.

Syntax

#include "ltmm.h"

Language Syntax
C HRESULT IltmmWMStreamConfig_put_BufferWindow(pStreamConfig, newVal)
C++ HRESULT put_BufferWindow(newVal)

Parameters

IltmmWMStreamConfig *pStreamConfig

Pointer to an IltmmWMStreamConfig interface.

long newVal

The latency value, in milliseconds, to set.

Returns

Value Meaning
S_OK The function was successful.
<> S_OK An error occurred. Refer to the Error Codes or the HRESULT error codes in the DirectShow documentation.

Comments

Use a value of -1 to indicate an unknown latency. The larger the buffer window, the higher the quality in the case of video streams. However, it is not recommended to have streams that have widely different latencies.

You must call IltmmWMProfile::ReconfigStream to use the new value.

For more information, refer to the Microsoft documentation for IWMStreamConfig::SetBufferWindow.

Required DLLs and Libraries

Platforms

Win32, x64.

See Also

Functions

Topics

Example

Language Example
C IltmmWMProfile::AddStream
C++ IltmmWMProfile::AddStream
Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Multimedia C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.