code stringlengths 3 6.57k |
|---|
decode() |
get_port_by_name(self, name) |
_lib.jack_port_by_name(self._ptr, name.encode() |
JackError('Port {0!r} not available'.format(name) |
self._wrap_port_ptr(port_ptr) |
get_all_connections(self, port) |
self._get_port_ptr(port) |
_ffi.gc(_lib.jack_port_get_all_connections(self._ptr, port) |
self._port_list_from_pointers(names) |
name_pattern.encode() |
self._port_list_from_pointers(names) |
_callback(self, cdecl, **kwargs) |
ffi.callback() |
callback_decorator(python_callable) |
_ffi.callback(cdecl, python_callable, **kwargs) |
self._keepalive.append(function_ptr) |
_register_port(self, name, porttype, is_terminal, is_physical, flags) |
_lib.jack_port_register(self._ptr, name.encode() |
format(name) |
self._wrap_port_ptr(port_ptr) |
_port_list_from_pointers(self, names) |
ports.append(self.get_port_by_name(_ffi.string(name) |
decode() |
_get_port_ptr(self, port) |
isinstance(port, Port) |
isinstance(port, str) |
self.get_port_by_name(port) |
_wrap_port_ptr(self, ptr) |
_ffi.string(_lib.jack_port_type(ptr) |
OwnPort(ptr, self) |
self.owns(ptr) |
Port(ptr) |
OwnMidiPort(ptr, self) |
self.owns(ptr) |
MidiPort(ptr) |
Port(object) |
Client.get_port_by_name() |
Client.get_ports() |
Client.get_all_connections() |
Client.set_port_registration_callback() |
Client.set_port_connect_callback() |
__init__(self, port_ptr) |
__repr__(self) |
format(self) |
__eq__(self, other) |
__ne__(self, other) |
__eq__() |
self.__eq__(other) |
name(self) |
port (read-only) |
_ffi.string(_lib.jack_port_name(self._ptr) |
decode() |
shortname(self) |
name
(including the ``client_name:`` prefix) |
port_name_size() |
_ffi.string(_lib.jack_port_short_name(self._ptr) |
decode() |
shortname(self, shortname) |
_check(_lib.jack_port_set_name(self._ptr, shortname.encode() |
aliases(self) |
format(_lib.jack_port_name_size() |
_ffi.new(ctype) |
_ffi.new(ctype) |
_ffi.new("char *[]", aliases) |
_lib.jack_port_get_aliases(self._ptr, aliasesptr) |
_ffi.string(aliases[i]) |
decode() |
result.append(alias) |
set_alias(self, alias) |
_check(_lib.jack_port_set_alias(self._ptr, alias.encode() |
unset_alias(self, alias) |
_check(_lib.jack_port_unset_alias(self._ptr, alias.encode() |
uuid(self) |
_lib.jack_port_uuid(self._ptr) |
property(lambda self: True, doc='This is always ``True``.') |
property(lambda self: False, doc='This is always ``False``.') |
is_input(self) |
self._hasflag(_lib.JackPortIsInput) |
is_output(self) |
self._hasflag(_lib.JackPortIsOutput) |
is_physical(self) |
self._hasflag(_lib.JackPortIsPhysical) |
can_monitor(self) |
request_monitor() |
self._hasflag(_lib.JackPortCanMonitor) |
is_terminal(self) |
self._hasflag(_lib.JackPortIsTerminal) |
request_monitor(self, onoff) |
_check(_lib.jack_port_request_monitor(self._ptr, onoff) |
_hasflag(self, flag) |
bool(_lib.jack_port_flags(self._ptr) |
MidiPort(Port) |
directly (see `Port`) |
property(lambda self: False, doc='This is always ``False``.') |
property(lambda self: True, doc='This is always ``True``.') |
OwnPort(Port) |
directly (see `Port`) |
__init__(self, port_ptr, client) |
Port.__init__(self, port_ptr) |
number_of_connections(self) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.