Skip to content

Latest commit

 

History

History
54 lines (35 loc) · 1016 Bytes

File metadata and controls

54 lines (35 loc) · 1016 Bytes

Home

Function name : AVIStreamTimeToSample

Group: Windows Multimedia - Library: avifil32


The AVIStreamTimeToSample function converts from milliseconds to samples.


Code examples:

How to play AVI file on the _screen

Declaration:

STDAPI_(LONG) AVIStreamTimeToSample(
  PAVISTREAM pavi,
  LONG lTime
);  

FoxPro declaration:

DECLARE INTEGER AVIStreamTimeToSample IN avifil32;
	INTEGER pavi,;
	LONG    lTime
  

Parameters:

pavi Handle to an open stream.

lTime Time, expressed in milliseconds.


Return value:

Returns the converted time if successful or - 1 otherwise.


Comments:

Samples typically correspond to audio samples or video frames. Other stream types might support different formats than these.