From 3caab43192e0d0bcb30f008a35c4e8c588cbbb9d Mon Sep 17 00:00:00 2001 From: Bob Date: Sun, 3 Aug 2014 19:31:58 +0200 Subject: [PATCH] fixed: always execute the off command on start --- src/ampswitch.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ampswitch.cpp b/src/ampswitch.cpp index 62380b4..2226d75 100644 --- a/src/ampswitch.cpp +++ b/src/ampswitch.cpp @@ -128,6 +128,9 @@ bool CAmpSwitch::Setup() void CAmpSwitch::Process() { + if (m_offcommand) + system(m_offcommand); + while (!g_stop) { if (m_jackshutdown)