From 892888da03028cbf67bf005747902b9e3e5b9773 Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Sun, 19 Jan 2025 21:03:06 +0000 Subject: Play WAV --- MIDIPlayer.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'MIDIPlayer.h') diff --git a/MIDIPlayer.h b/MIDIPlayer.h index 8009029..2b3e994 100644 --- a/MIDIPlayer.h +++ b/MIDIPlayer.h @@ -1,5 +1,7 @@ #pragma once +#include "AudioPlayer.h" + #include #include @@ -35,11 +37,13 @@ private: void iterate_ports(void); Config& m_config; - boost::process::child m_child; + boost::process::child m_child_midiplayer; std::filesystem::path m_dir; std::string m_file; snd_seq_t* m_seq; int m_client; + + AudioPlayer m_audio_player; }; -- cgit v1.2.3