From 7f54b359f0261ae5b70f303a2080b13dd70cd0c2 Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Sun, 19 Jan 2025 16:42:50 +0000 Subject: Fix debian package --- MIDIPlayer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'MIDIPlayer.cpp') 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"); } -- cgit v1.2.3