TVideoGrabber.AudioSyncAdjustment

Prev

Next

TVideoGrabber

Properties

 




































































































Introduces an audio delay.


Declaration
property AudioSyncAdjustment: LongInt read GetAudioSyncAdjustment write SetAudioSyncAdjustment default DEF_AudioSyncAdjustment;


__property int AudioSyncAdjustment==GetAudioSyncAdjustment, write=SetAudioSyncAdjustment, default=0;


property AudioSyncAdjustment as Long

Description

Used to introduce an audio delay, when the video and audio are not synchronized.
Useful mainly when the audio and video streams do not come out from the same capture device.
This property specifies a number of audio samples that are delayed, in order to get the audio and video in sync.

To use this property:
- enable AudioSyncAdjustmentEnabled
- set AudioSyncAdjustment with a number of audio samples to delay, greater than 0

You can make a quick test of this feature with MainDemo.exe -> "audio tab"


See Also
Recording methods and properties TAVIMuxConfig TASFDeinterlaceMode TAutoFileName TOnRecordingCompleted TOnRecordingReadyToStart TRecordingMethod TSyncPreview AudioRecording AutoFileNameMinDigits AVIDurationUpdated AVIFormatOpenDML AVIHeaderInfo AVIInfo Encoder_SetInt HoldRecording IsRecordingPaused Last_Recording_FileName OnBacktimedFramesCountReached OnCopyPreallocDataCompleted OnCopyPreallocDataProgress OnCopyPreallocDataStarted OnCreatePreallocFileCompleted OnCreatePreallocFileStarted OnDiskFull OnRecordingCompleted OnRecordingPaused OnRecordingReadyToStart OnRecordingStarted OnReencodingCompleted OnReencodingStarted PauseRecording PreallocCapFileCopiedAfterRecording PreallocCapFileEnabled PreallocCapFileName PreallocCapFileSizeInMB RecordingBacktimedFramesCount RecordingCanPause RecordingDuration RecordingFileName RecordingFileSizeMaxInMB RecordingFourCC RecordingHeight RecordingInNativeFormat RecordingKBytesWrittenToDisk RecordingMethod RecordingSize RecordingTimer RecordingTimerInterval RecordingWidth ResumeRecording SaveCompressorSettingsToDataString SetMultiplexerFilterByName StartAudioRecording StartRecording StartSynchronized StopRecording StoragePath Synchronized SyncPreview