diff options
Diffstat (limited to 'MIDIPlayer.h')
-rw-r--r-- | MIDIPlayer.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/MIDIPlayer.h b/MIDIPlayer.h index 811bea4..8009029 100644 --- a/MIDIPlayer.h +++ b/MIDIPlayer.h @@ -6,12 +6,14 @@ #include <boost/process.hpp> #include <alsa/asoundlib.h> +#include "config.h" + #include <filesystem> class MIDIPlayer { public: - MIDIPlayer(const std::filesystem::path& path = "."); + MIDIPlayer(Config& config); void start(); @@ -32,6 +34,7 @@ private: void close_seq(void); void iterate_ports(void); + Config& m_config; boost::process::child m_child; std::filesystem::path m_dir; std::string m_file; |