BB FlashBack SDK: FBRecorder

CustomSoundTrackMaxInterval

Description

Used when a custom sound track is being created by calls to the AddSoundBlockByPointer method, this property defines the maximum interval in milliseconds between 2 consecutive sound blocks that are considered to be in the same sound clip.

It is used to ensure that any delays in the application processing and capturing sound data and passing it to AddSoundBlockByPointer do not result in gaps between sound blocks.

When a new sound block is added, if the interval between this and the end point of the previous sound block is greater than the CustomSoundTrackMaxInterval, it is added at the current time. If the interval is less than CustomSoundTrackMaxinterval, it is added at the end point of the previous sound block.

The default value is zero, so any intervals between sound blocks will be considered as silence, and the sound blocks created as separate clips.

Syntax

[C#/C++]
public: long CurrentSoundTrackMaxInterval;

[VB.NET]
Public Property CustomSoundTrackMaxInterval As Integer

See Also

FBRecorder::UseCustomSoundTrack  FBRecorder::InitCustomSoundTrack  FBRecorder::AddSoundBlockByPointer