@@ -846,6 +846,9 @@ def set_shutdown_callback(self, callback):
846846 statement*, which takes care of activating, deactivating
847847 and closing the client automatically.
848848
849+ .. note:: Same as with most callbacks, no functions that
850+ interact with the JACK daemon should be used here.
851+
849852 """
850853 @self ._callback ("JackInfoShutdownCallback" )
851854 def callback_wrapper (code , reason , _ ):
@@ -944,6 +947,9 @@ def set_freewheel_callback(self, callback):
944947 The argument `starting` is ``True`` if we start to
945948 freewheel, ``False`` otherwise.
946949
950+ .. note:: Same as with most callbacks, no functions that
951+ interact with the JACK daemon should be used here.
952+
947953 See Also
948954 --------
949955 set_freewheel
@@ -991,6 +997,9 @@ def set_blocksize_callback(self, callback):
991997 previously referenced, and perform other operations that
992998 are not realtime safe.
993999
1000+ .. note:: Same as with most callbacks, no functions that
1001+ interact with the JACK daemon should be used here.
1002+
9941003 See Also
9951004 --------
9961005 :attr:`blocksize`
@@ -1033,6 +1042,9 @@ def set_samplerate_callback(self, callback):
10331042 The `callback` is supposed to raise :class:`CallbackExit` on
10341043 error.
10351044
1045+ .. note:: Same as with most callbacks, no functions that
1046+ interact with the JACK daemon should be used here.
1047+
10361048 See Also
10371049 --------
10381050 :attr:`samplerate`
@@ -1075,6 +1087,9 @@ def set_client_registration_callback(self, callback):
10751087 argument is ``True`` if the client is being registered and
10761088 ``False`` if the client is being unregistered.
10771089
1090+ .. note:: Same as with most callbacks, no functions that
1091+ interact with the JACK daemon should be used here.
1092+
10781093 """
10791094 @self ._callback ("JackClientRegistrationCallback" )
10801095 def callback_wrapper (name , register , _ ):
@@ -1111,6 +1126,9 @@ def set_port_registration_callback(self, callback):
11111126 argument is ``True`` if the port is being registered,
11121127 ``False`` if the port is being unregistered.
11131128
1129+ .. note:: Same as with most callbacks, no functions that
1130+ interact with the JACK daemon should be used here.
1131+
11141132 See Also
11151133 --------
11161134 Ports.register
@@ -1152,6 +1170,9 @@ def set_port_connect_callback(self, callback):
11521170 The third argument is ``True`` if the ports were connected
11531171 and ``False`` if the ports were disconnected.
11541172
1173+ .. note:: Same as with most callbacks, no functions that
1174+ interact with the JACK daemon should be used here.
1175+
11551176 See Also
11561177 --------
11571178 Client.connect, OwnPort.connect
@@ -1195,6 +1216,9 @@ def set_port_rename_callback(self, callback):
11951216 The `callback` is supposed to raise :class:`CallbackExit` on
11961217 error.
11971218
1219+ .. note:: Same as with most callbacks, no functions that
1220+ interact with the JACK daemon should be used here.
1221+
11981222 See Also
11991223 --------
12001224 :attr:`Port.shortname`
@@ -1248,6 +1272,9 @@ def set_graph_order_callback(self, callback):
12481272 The `callback` is supposed to raise :class:`CallbackExit` on
12491273 error.
12501274
1275+ .. note:: Same as with most callbacks, no functions that
1276+ interact with the JACK daemon should be used here.
1277+
12511278 """
12521279 @self ._callback ("JackGraphOrderCallback" , error = _FAILURE )
12531280 def callback_wrapper (_ ):
@@ -1287,6 +1314,9 @@ def set_xrun_callback(self, callback):
12871314 The `callback` is supposed to raise :class:`CallbackExit` on
12881315 error.
12891316
1317+ .. note:: Same as with most callbacks, no functions that
1318+ interact with the JACK daemon should be used here.
1319+
12901320 """
12911321 @self ._callback ("JackXRunCallback" , error = _FAILURE )
12921322 def callback_wrapper (_ ):
0 commit comments