#include #include #include #include "AL/al.h" #include "AL/alext.h" struct MorePreciseMusic : sf::Music { MorePreciseMusic(const std::filesystem::path& path); std::array alSecOffsetLatencySoft() const; sf::Time getPrecisePlayingOffset() const; sf::Time lag = sf::Time::Zero; void play(); protected: LPALGETSOURCEDVSOFT alGetSourcedvSOFT; };