Signed-off-by: Pieter Palmers <pieterp@joow.be>
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.
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@1065 0c269be4-1314-0410-8aa9-9f06e86f4224