summaryrefslogtreecommitdiffhomepage
path: root/MIDIPlayer.h
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2025-01-19 21:03:06 +0000
committerRoland Reichwein <mail@reichwein.it>2025-01-19 21:03:06 +0000
commit892888da03028cbf67bf005747902b9e3e5b9773 (patch)
treea5fd97f9c07c4d08a343e47d0ba2e68f4b5d296e /MIDIPlayer.h
parent7f54b359f0261ae5b70f303a2080b13dd70cd0c2 (diff)
Play WAV
Diffstat (limited to 'MIDIPlayer.h')
-rw-r--r--MIDIPlayer.h6
1 files changed, 5 insertions, 1 deletions
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 <string>
#include <vector>
@@ -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;
};