Overview
Group
Quick Info

AVIStreamNearestSampleTime

The AVIStreamNearestSampleTime macro determines the time corresponding to the beginning of a sample that is nearest to a specified time in a stream.

AVIStreamNearestSampleTime(

pavi,

lTime

);

Parameters

pavi

Handle of an open stream.

lTime

Starting time, in milliseconds, to search in the stream.

Return Values

Returns the time of the nearest sample if successful or pics/MMEDIA00090000.gif 1 otherwise.

Remarks

The AVIStreamNearestSampleTime macro is defined as follows:

#define AVIStreamNearestSampleTime(pavi, lTime) \

AVIStreamSampleToTime(pavi, AVIStreamNearestSample(pavi,

AVIStreamTimeToSample(pavi, lTime)))

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
MegaDetailed.Net
Unix Manual Pages
Delphi Examples