mirror of
https://gitlab.com/square-game-liberation-front/F.E.I.S.git
synced 2024-11-13 18:50:54 +01:00
17 lines
418 B
C++
17 lines
418 B
C++
#include <filesystem>
|
|
#include <array>
|
|
|
|
#include <SFML/Audio.hpp>
|
|
|
|
#include "AL/al.h"
|
|
#include "AL/alext.h"
|
|
|
|
struct MorePreciseMusic : sf::Music {
|
|
MorePreciseMusic(const std::filesystem::path& path);
|
|
std::array<sf::Time, 2> alSecOffsetLatencySoft() const;
|
|
sf::Time getPrecisePlayingOffset() const;
|
|
sf::Time lag = sf::Time::Zero;
|
|
void play();
|
|
protected:
|
|
LPALGETSOURCEDVSOFT alGetSourcedvSOFT;
|
|
}; |