summaryrefslogtreecommitdiffhomepage
path: root/MIDIPlayer.cpp
diff options
context:
space:
mode:
authorRoland Reichwein <rr@antcom.de>2025-01-19 16:42:50 +0000
committerRoland Reichwein <rr@antcom.de>2025-01-19 16:42:50 +0000
commit7f54b359f0261ae5b70f303a2080b13dd70cd0c2 (patch)
tree8486ff0d5e9748d1dc611cbc0b50ad2e0baf25a7 /MIDIPlayer.cpp
parent843ba599dba0c250d18dce724ac4c963fb29190d (diff)
Fix debian package
Diffstat (limited to 'MIDIPlayer.cpp')
-rw-r--r--MIDIPlayer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/MIDIPlayer.cpp b/MIDIPlayer.cpp
index e160d33..cb6a6bf 100644
--- a/MIDIPlayer.cpp
+++ b/MIDIPlayer.cpp
@@ -44,7 +44,7 @@ void MIDIPlayer::start()
if (m_child.valid() && m_child.running()) {
stop();
} else {
- m_child = bp::child(fmt::format("aplaymidi-mp -c -p{} \"{}\"", m_client, m_file).c_str());//, bp::std_out > bp::null);
+ m_child = bp::child(fmt::format("aplaymidi-mp -c -p{} \"{}\"", m_client, (m_dir / m_file).string()).c_str());//, bp::std_out > bp::null);
if (!m_child.valid() || !m_child.running()) {
throw std::runtime_error("aplaymidi not started");
}