Re: [Jack-Devel] incorrect port message
On Wed, August 29, 2012 8:29 am, Stéphane Letz wrote:
> Which version of JACK?
>
Sorry, forgot that part.
JACK 1.9.8
I cal it like so:
inports = jack_get_ports(client, NULL, NULL, JackPortIsInput);
/* create menu items for each input port */
for (i = 0; inports[i]; ++i) {
get_port(inports[i]);
}
> Stéphane
>
> Le 29 août 2012 à 08:10, Patrick Shirkey a écrit :
>
>> Hi,
>>
>> Can anyone tell me why I get this error from jack?
>>
>> code:
>>
>> static void get_port(jack_port_t *port)
>> {
>> printf("port = %s, id=%i\n", port, jack_port_by_id(client, port));
>> port_name = jack_port_name(port);
>> }
>>
>> output:
>>
>> port = jackEQ:e.fx2_return-out-R, id=1810997664
>> jack_port_name called with an incorrect port 1810997664
>>
>>
>>
>> --
>> Patrick Shirkey
>> Boost Hardware Ltd
>>
>> Jack-Devel mailing list
>> [hidden]
>> http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org
>
>
--
Patrick Shirkey
Boost Hardware Ltd
1346223081.8209_0.ltw:2,a <46401.175.39.40.230.1346223074.squirrel at boosthardware dot com>