AudioSyncAdjustment
Delphi
property AudioSyncAdjustment: LongInt read GetAudioSyncAdjustment write SetAudioSyncAdjustment default DEF_AudioSyncAdjustment;
C++Builder
__property System::LongInt AudioSyncAdjustment = {read=GetAudioSyncAdjustment, write=SetAudioSyncAdjustment, default=0};
C#
public int AudioSyncAdjustment { get; set; }
VB.NET
Public Property AudioSyncAdjustment As Integer
C++/Qt
int GetAudioSyncAdjustment ();
void SetAudioSyncAdjustment (int Value);
Introduces an audio delay when the video and audio are not synchronized. It is mainly useful when the audio and video streams do not come from the same capture device. This property specifies the number of audio samples that are delayed to get the audio and video in sync.
To use this property:
-
enable AudioSyncAdjustmentEnabled,
-
set AudioSyncAdjustment to the number of audio samples to delay, greater than 0.
A quick test of this feature can be made in the "audio" tab of MainDemo.exe.