BB FlashBack SDK: FBMovie

InsertFrames

Description

Inserts a number of frames into the movie, and optionally adds silence to any sounds that are playing through the insertion point.

Syntax

[C#/C++]
public Bool InsertFrames (long lStartFrame, long lNumberOfFrames, Bool bUpdateSounds)

[VB.NET]
Public Function InsertFrames (ByVal lStartFrame As Long, ByVal lNumberOfFrames As Long, ByVal bUpdateSounds As Boolean) As Boolean
 

Parameters

lStartFrame : the frame at which to insert the new frames

lNumberOfFrames : the quantity of frames to insert

bUpdateSounds : if set to True, silence is inserted into any sound clips (FBSoundClip objects) that are playing at the insertion point. The length of silence corresponds to the number of frames inserted. This has the effect of keeping later portions of the sound in sync with video.

If the value is set to False, no silence is added to sounds.
 

Return Values

If the function fails, the return value is a null pointer.

If the function succeeds, the return value is non-zero.
 

Remarks

See How the sound classes work for more information on the sound classes and how edit operations can affect them.

See Also