@@ -0,0 +1,30 @@
+--- portaudio/src/hostapi/jack/pa_jack.c.org 2008-02-02 18:34:46.000000000 +0100
++++ portaudio/src/hostapi/jack/pa_jack.c 2008-02-02 18:35:51.000000000 +0100
+@@ -1666,27 +1666,19 @@
+ {
+ for( i = 0; i < stream->num_incoming_connections; i++ )
+ {
+- UNLESS( !jack_port_lock( stream->jack_client, stream->local_input_ports[i] ),
+- paUnanticipatedHostError );
+ if( jack_port_connected( stream->local_input_ports[i] ) )
+ {
+ UNLESS( !jack_port_disconnect( stream->jack_client, stream->local_input_ports[i] ),
+ paUnanticipatedHostError );
+ }
+- UNLESS( !jack_port_unlock( stream->jack_client, stream->local_input_ports[i] ),
+- paUnanticipatedHostError );
+ }
+ for( i = 0; i < stream->num_outgoing_connections; i++ )
+ {
+- UNLESS( !jack_port_lock( stream->jack_client, stream->local_output_ports[i] ),
+- paUnanticipatedHostError );
+ if( jack_port_connected( stream->local_output_ports[i] ) )
+ {
+ UNLESS( !jack_port_disconnect( stream->jack_client, stream->local_output_ports[i] ),
+ paUnanticipatedHostError );
+ }
+- UNLESS( !jack_port_unlock( stream->jack_client, stream->local_output_ports[i] ),
+- paUnanticipatedHostError );
+ }
+ }
+
|