Re: [Jack-Devel] [PATCH] fix type_info of ports that are reused

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: [Jack-Devel] [PATCH] fix type_info of ports that are reused

Pieter Palmers
While I'm at it, I'll commit this one too :).

I might be a bit out of my turf doing this, but since nobody else does...

Thanks for the patches btw,

Pieter


Nedko Arnaudov wrote:

> This patch fixes bug where clients get wrong port types. I have noticed
> it using Patchage but other jack midi patchbays are probably affected
> too.
>
> Steps to reproduce:
>
> 1. start jack-keyboard (2 midi ports)
> 2. stop jack-keyboard
> 3. start zynaddsubfx (2 audio and 1 midi ports)
>
> now all 3 zynaddsubfx ports are reported as midi ones
>
> because ports are reused (and kept in ports_ext list), they need
> type_info updated when port gets reused. Other possible solution may be
> to ignore type_info member of struct _jack_port and use shared member to
> access type info data.
>
>
>
> ------------------------------------------------------------------------
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Jack-Devel mailing list
> [hidden email]
> http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Jackit-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jackit-devel