Bring PS5 GTA6 to 120FPS with DLSS 5. An advanced Windows video player and capture enhancement tool featuring real-time preview for videos, images, and capture card sources. Combine AI-powered Super Resolution, DLSS5 image enhancement, and Frame Generation to deliver a next-generation visual experience.
C++
#pragma once
#include <optional>
namespace veyra::source {
// Untimed driver samples still contain real audio. Continue by decoded sample
// duration; arrival time is only an anchor after open or a discontinuity.
class CaptureAudioClock {
double next_=0;
bool anchored_=false;
public:
double observe(std::optional<double> timestamp,double arrival,double duration,bool discontinuity){
const double start=timestamp?*timestamp:(!anchored_||discontinuity?arrival:next_);
next_=start+duration;anchored_=true;return start;
}
};
}