Browse Source

Revert last commit, fix is needed on jack itself

tags/v0.9.0
falkTX 11 years ago
parent
commit
c1187834c6
2 changed files with 2 additions and 20 deletions
  1. +2
    -0
      c++/jackbridge/JackBridge.cpp
  2. +0
    -20
      src/cadence_aloop_daemon.py

+ 2
- 0
c++/jackbridge/JackBridge.cpp View File

@@ -20,6 +20,8 @@

#include "JackBridgeLibUtils.hpp"

#include <cstdlib>

// -----------------------------------------------------------------------------

typedef void (*jacksym_get_version)(int*, int*, int*, int*);


+ 0
- 20
src/cadence_aloop_daemon.py View File

@@ -96,25 +96,6 @@ def client_registration_callback(clientName, register, arg):
doLoop = False
print("NOTICE: %s has been stopped, quitting now..." % ("zita-a2j/j2a" if useZita else "alsa_in/out"))

# --------------------------------------------------
# listen to jack freewheel

def freewheel_callback(isFreewheel, arg):
global doRunNow, procIn, procOut

if not isFreewheel:
# resume normal operation
doRunNow = True
return

# stop daemon for freewheel access
if procIn.state() != QProcess.NotRunning:
procIn.terminate()
procIn.waitForFinished(1000)
if procOut.state() != QProcess.NotRunning:
procOut.terminate()
procOut.waitForFinished(1000)

# --------------------------------------------------
# listen to jack shutdown

@@ -184,7 +165,6 @@ if __name__ == '__main__':

jacklib.set_buffer_size_callback(client, buffer_size_callback, None)
jacklib.set_sample_rate_callback(client, sample_rate_callback, None)
jacklib.set_freewheel_callback(client, freewheel_callback, None)
jacklib.on_shutdown(client, shutdown_callback, None)
jacklib.activate(client)



Loading…
Cancel
Save