Fix jacklib set_freewheel() function
authorNikita Zlobin <cook60020tmp@mail.ru>
Sun, 26 Dec 2010 12:01:27 +0000 (26 17:01 +0500)
committerNikita Zlobin <cook60020tmp@mail.ru>
Sun, 26 Dec 2010 12:01:27 +0000 (26 17:01 +0500)
jacklib.py

index 42cf34d..5f5580f 100644 (file)
@@ -351,7 +351,7 @@ def set_xrun_callback(client, xrun_callback, arg=None):
 def set_freewheel(client, onoff):
   jacklib.jack_set_freewheel.argtypes = [jack_client_t, c_int]
   jacklib.jack_set_freewheel.restype = c_int
-  return jacklib.jack_set_freewheel(onoff)
+  return jacklib.jack_set_freewheel(client, onoff)
 
 def set_buffer_size(client, nframes):
   jacklib.jack_set_buffer_size.argtypes = [jack_client_t, jack_nframes_t]