Hi
same here, I found the last working jack_connect tool in revision 2284 (
0-111-5). This one work also with jackd 0.112.0. The related changes are :
-- jack-11.5/tools/connect.c 2008-05-17 17:50:04.000000000 +0200
+++ jack/tools/connect.c 2008-06-06 16:19:55.000000000 +0200
@@ -78,12 +130,12 @@
/* find the two ports */
- if ((input_port = jack_port_by_name(client, argv[1])) == 0) {
- fprintf (stderr, "ERROR %s not a valid port\n", argv[1]);
+ if ((input_port = jack_port_by_name(client, argv[argc-1])) == 0) {
+ fprintf (stderr, "ERROR %s not a valid port\n", argv[argc-1]);
return 1;
}
- if ((output_port = jack_port_by_name(client, argv[2])) == 0) {
- fprintf (stderr, "ERROR %s not a valid port\n", argv[2]);
+ if ((output_port = jack_port_by_name(client, argv[argc-2])) == 0) {
+ fprintf (stderr, "ERROR %s not a valid port\n", argv[argc-2]);
return 1;
}
I change this lines back to version 0-111-5 and jack_connect work. BUT THIS
IS NO SOLUTION, BECAUSE JACK CRASHED SOMETIMES WITH THIS VERSION OF
jack_connect.
hope it bring's a little light in this.
hermann
Am Montag, 14. Juli 2008 16:10:40 schrieb Julien Claassen:
Hello!
I just downloaded jack from svn and I get the following problem:
mplayer *.wav (all is well)
jack_lsp -c shows mplayers' ports being connected to system_playback_*
ports. linuxsampler
(load some instrument and setup audio engine channels)
jack_lsp shows:
LinuxSampler:0
LinuxSampler:1
jack_connect LinuxSampler:0 system:playback_1
engine sample rate: 48000
cannot connect ports
Jack server says:
destination port in attempted connection of system:playback_1 and
LinuxSampler:0
is not an input port
What is going on here. Jack says it's Version 0.112.0.
Can anybody enlighten me/help me here?
Kindest regards
Julien