- Posts: 3
- Joined: Wed Apr 08, 2015 12:26 am
Hello,
well, how exactly do you use DisplayVideoFrameSync()? How do you know it is time to send the next video-frame?
I would guess that every time you call DisplayVideoFrameSync() you also call WriteAudioSamplesSync() sending exactly the amount of audio-samples worth the "display-time" of one video-frame.
However, I am very curious how you manage to time DisplayVideoFrameSync()? I would have expected that there is some sort of "vertical-blank" signal coming from the Decklink, that can be used to time the whole process. But did not fine one so far.
Up until now I used StartScheduledPlayback() - but not only does that produce some type of lag, it also should not be used together with WriteAudioSamplesSync(). Wish there was a ScheduledFrameCompleted() callback, that works in "synchronous" mode.
I could not find any samples on this issue either. Some input would be highly appreciated!