unsafe PortReference MapPort(uint portId) { UnsafeStructs.jack_port_t* portPointer = PortApi.GetPortById (JackClient, portId); if (portPointer == null) { return null; } return new PortReference (portPointer); }