ILMDVRSink::SetBufferSize

#include "ILMDVRSink.h"

C Syntax

HRESULT ILMDVRSink_SetBufferSize(pILMDVRSink, nFolderIndex, nFiles, fileSize)

C++ Syntax

HRESULT SetBufferSize(nFolderIndex, nFiles, fileSize)

ILMDVRSink *pILMDVRSink ;

pointer to an interface

long nFolderIndex;

folder (0-based) index

long nFiles;

number of allowed files

double fileSize;

size of each file

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

Parameter

Description

pILMDVRSink

Pointer to an ILMDVRSink interface.

nFolderIndex

The 0-based index of the desired buffer folder.

nFiles

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

fileSize

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

Returns

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

LMDVRSink

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

Platforms

Win32, x64

Help Version 21.0.2021.7.19
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

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