WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion src/jack.py
Original file line number Diff line number Diff line change
Expand Up @@ -1773,7 +1773,17 @@ def _port_list_from_pointers(self, names):
name = names[idx]
if not name:
break
ports.append(self.get_port_by_name(_decode(name)))

port_ptr = _lib.jack_port_by_name(self._ptr, name)
if not port_ptr:
continue

try:
port = self._wrap_port_ptr(port_ptr)
except AssertionError:
continue

ports.append(port)
idx += 1
return ports

Expand Down