#pragma once #include #include class AudioPlayer { public: AudioPlayer(const std::filesystem::path& dir, const std::string& filename); void start(); void stop(); void set_file(const std::string& filename); private: std::filesystem::path m_dir; std::string m_file; boost::process::child m_child_audioplayer; };