ILMDVRSink::SetBufferSize

Summary

Sets the number of buffer (.LRC) files as well as the size per buffer file.

Syntax

#include "ILMDVRSink.h"

Language Syntax
C HRESULT ILMDVRSink_SetBufferSize(pILMDVRSink, nFolderIndex, nFiles, fileSize)
C++ HRESULT SetBufferSize(nFolderIndex, nFiles, fileSize)

Parameters

ILMDVRSink *pILMDVRSink

Pointer to an ILMDVRSink interface.

long nFolderIndex

The 0-based index of the desired buffer folder.

long nFiles

The maximum number of .LRC files allowed to be created in this folder.

double fileSize

The maximum file size (in bytes) of each individual .LRC file.

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

Sets the number of buffer (.LRC) files and the allowed size per buffer file for the specified buffer folder. For each buffer folder the following group of buffer files gets created:

The .LBL file specifies which .LRC files are used as underlying storage, as well as the playback range mapping information for each .LRC file.

Note: Call ILMDVRSink::StartChangingAttributes prior to setting this property. Afterwards, call ILMDVRSink::StopChangingAttributes to complete the setting changes.

Required DLLs and Libraries

Platforms

Win32, x64.

See Also

Functions

Topics

Example

Language Example
C ILMDVRSink::SetBufferSize
C++ ILMDVRSink::SetBufferSize
Help Version 22.0.2023.1.26
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 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.