@@ -827,7 +827,7 @@ def set_shutdown_callback(self, callback):
827827 User-supplied function that is called whenever the JACK
828828 daemon is shutdown. It must have this signature::
829829
830- callback(status:Status, reason:str) -> None
830+ callback(status: Status, reason: str) -> None
831831
832832 The argument `status` is of type :class:`jack.Status`.
833833
@@ -885,7 +885,7 @@ def set_process_callback(self, callback):
885885 User-supplied function that is called by the engine anytime
886886 there is work to be done. It must have this signature::
887887
888- callback(frames:int) -> None
888+ callback(frames: int) -> None
889889
890890 The argument `frames` specifies the number of frames that
891891 have to be processed in the current audio block. It will be
@@ -933,7 +933,7 @@ def set_freewheel_callback(self, callback):
933933 User-supplied function that is called whenever JACK starts
934934 or stops freewheeling. It must have this signature::
935935
936- callback(starting:bool) -> None
936+ callback(starting: bool) -> None
937937
938938 The argument `starting` is ``True`` if we start to
939939 freewheel, ``False`` otherwise.
@@ -972,7 +972,7 @@ def set_blocksize_callback(self, callback):
972972 User-supplied function that is invoked whenever the JACK
973973 engine buffer size changes. It must have this signature::
974974
975- callback(blocksize:int) -> None
975+ callback(blocksize: int) -> None
976976
977977 The argument `blocksize` is the new buffer size.
978978 The `callback` is supposed to raise :class:`CallbackExit` on
@@ -1021,7 +1021,7 @@ def set_samplerate_callback(self, callback):
10211021 User-supplied function that is called when the engine sample
10221022 rate changes. It must have this signature::
10231023
1024- callback(samplerate:int) -> None
1024+ callback(samplerate: int) -> None
10251025
10261026 The argument `samplerate` is the new engine sample rate.
10271027 The `callback` is supposed to raise :class:`CallbackExit` on
@@ -1063,7 +1063,7 @@ def set_client_registration_callback(self, callback):
10631063 User-supplied function that is called whenever a client is
10641064 registered or unregistered. It must have this signature::
10651065
1066- callback(name:str, register:bool) -> None
1066+ callback(name: str, register: bool) -> None
10671067
10681068 The first argument contains the client name, the second
10691069 argument is ``True`` if the client is being registered and
@@ -1098,7 +1098,7 @@ def set_port_registration_callback(self, callback):
10981098 port is registered or unregistered.
10991099 It must have this signature::
11001100
1101- callback(port:Port, register:bool) -> None
1101+ callback(port: Port, register: bool) -> None
11021102
11031103 The first argument is a :class:`Port`, :class:`MidiPort`,
11041104 :class:`OwnPort` or :class:`OwnMidiPort` object, the second
@@ -1138,7 +1138,7 @@ def set_port_connect_callback(self, callback):
11381138 User-supplied function that is called whenever a port is
11391139 connected or disconnected. It must have this signature::
11401140
1141- callback(a:Port, b:Port, connect:bool) -> None
1141+ callback(a: Port, b: Port, connect: bool) -> None
11421142
11431143 The first and second arguments contain :class:`Port`,
11441144 :class:`MidiPort`, :class:`OwnPort` or :class:`OwnMidiPort`
@@ -1180,7 +1180,7 @@ def set_port_rename_callback(self, callback):
11801180 User-supplied function that is called whenever the port name
11811181 has been changed. It must have this signature::
11821182
1183- callback(port:Port, old:str, new:str) -> None
1183+ callback(port: Port, old: str, new: str) -> None
11841184
11851185 The first argument is the port that has been renamed (a
11861186 :class:`Port`, :class:`MidiPort`, :class:`OwnPort` or
@@ -1274,7 +1274,7 @@ def set_xrun_callback(self, callback):
12741274 User-supplied function that is called whenever an xrun has
12751275 occured. It must have this signature::
12761276
1277- callback(delayed_usecs:float) -> None
1277+ callback(delayed_usecs: float) -> None
12781278
12791279 The callback argument is the delay in microseconds due to
12801280 the most recent XRUN occurrence.
@@ -1326,7 +1326,7 @@ def set_timebase_callback(self, callback=None, conditional=False):
13261326 client had been inactive.
13271327 The `callback` must have this signature::
13281328
1329- callback(state:int, blocksize:int, pos:jack_position_t, new_pos:bool) -> None
1329+ callback(state: int, blocksize: int, pos: jack_position_t, new_pos: bool) -> None
13301330
13311331 `state`
13321332 The current transport state.
@@ -2549,7 +2549,7 @@ def set_error_function(callback=None):
25492549 (which prints the error message plus a newline to stderr).
25502550 The `callback` function must have this signature::
25512551
2552- callback(message:str) -> None
2552+ callback(message: str) -> None
25532553
25542554 """
25552555 _set_error_or_info_function (callback , _lib .jack_set_error_function )
@@ -2562,7 +2562,7 @@ def set_info_function(callback=None):
25622562 (which prints the info message plus a newline to stderr).
25632563 The `callback` function must have this signature::
25642564
2565- callback(message:str) -> None
2565+ callback(message: str) -> None
25662566
25672567 """
25682568 _set_error_or_info_function (callback , _lib .jack_set_info_function )
0 commit comments