Beispiel #1
0
 internal unsafe Port(UnsafeStructs.jack_client_t*jackClient, int index, Direction direction, PortType portType, string nameFormat)
 {
     if (nameFormat == null) {
         nameFormat = "{type}{direction}_{index}";
     }
     _jackClient = jackClient;
     Direction = direction;
     Name = CreateName (nameFormat, index, direction, portType);
     PortType = portType;
     _port = RegisterPort (direction, portType);
 }
Beispiel #2
0
 internal unsafe PortReference(UnsafeStructs.jack_port_t* portPointer)
 {
     PortPointer = portPointer;
     FullName = PortApi.GetName (portPointer).PtrToString ();
     bool isPhysicalPort;
     Direction direction;
     ReadJackPortFlags (portPointer, out direction, out isPhysicalPort);
     Direction = direction;
     IsPhysicalPort = isPhysicalPort;
     PortType = GetPortType (portPointer);
 }
Beispiel #3
0
 public static unsafe extern int IsConnected(UnsafeStructs.jack_port_t* port);
Beispiel #4
0
 public static unsafe extern IntPtr GetType(UnsafeStructs.jack_port_t* port);
Beispiel #5
0
 public static unsafe extern int GetPortFlags(UnsafeStructs.jack_port_t* port);
Beispiel #6
0
 public static unsafe extern UnsafeStructs.jack_port_t* GetPortById(UnsafeStructs.jack_client_t* client, uint portId);
Beispiel #7
0
 public static unsafe extern IntPtr GetConnections(UnsafeStructs.jack_port_t* port);
Beispiel #8
0
 public static unsafe extern float* GetBuffer(UnsafeStructs.jack_port_t* port, uint frames);
Beispiel #9
0
 public static unsafe extern int RequestMonitor(UnsafeStructs.jack_port_t* port, int onoff);
Beispiel #10
0
 public static unsafe extern UnsafeStructs.jack_port_t* Register(UnsafeStructs.jack_client_t* client, string portName, string portType, JackPortFlags portFlags, ulong bufferSize);
Beispiel #11
0
 public static unsafe extern int RecomputeTotalLatencies(UnsafeStructs.jack_client_t* client);
Beispiel #12
0
 public static unsafe extern int MonitoringInput(UnsafeStructs.jack_port_t* port);
Beispiel #13
0
 public static unsafe extern int IsMine(UnsafeStructs.jack_client_t* client, UnsafeStructs.jack_port_t* port);
Beispiel #14
0
 public static unsafe extern int IsConnectedTo(UnsafeStructs.jack_port_t* port, string portName);
Beispiel #15
0
 public static unsafe extern int SetXrunCallback(UnsafeStructs.jack_client_t* client, Callbacks.JackXRunCallback xrunCallback, IntPtr arg);
Beispiel #16
0
 public static unsafe extern int GetAliases(UnsafeStructs.jack_port_t* port, IntPtr[] aliases);
Beispiel #17
0
 public static unsafe extern IntPtr GetAllConnections(UnsafeStructs.jack_client_t* client, UnsafeStructs.jack_port_t* port);
Beispiel #18
0
 public static unsafe extern int RequestMonitorByName(UnsafeStructs.jack_client_t* client, string portName, int onoff);
Beispiel #19
0
 public static unsafe extern uint GetBufferSize(UnsafeStructs.jack_client_t* client, string portType);
Beispiel #20
0
 public static unsafe extern int SetName(UnsafeStructs.jack_port_t* port, string portName);
Beispiel #21
0
 public static unsafe extern void GetLatencyRange(UnsafeStructs.jack_port_t* port, JackLatencyCallbackMode mode, IntPtr range);
Beispiel #22
0
 public static unsafe extern int Unregister(UnsafeStructs.jack_client_t* client, UnsafeStructs.jack_port_t* port);
Beispiel #23
0
 public static unsafe extern UnsafeStructs.jack_port_t* GetPortByName(UnsafeStructs.jack_client_t* client, string portName);
Beispiel #24
0
 public static unsafe extern int UnsetAlias(UnsafeStructs.jack_port_t* port, string alias);
Beispiel #25
0
 public static unsafe extern IntPtr GetPorts(UnsafeStructs.jack_client_t* client, string portNamePattern, string typeNamePattern, ulong flags);
Beispiel #26
0
 public static unsafe extern int Disconnect(UnsafeStructs.jack_client_t* client, string sourcePort, string destinationPort);
Beispiel #27
0
 public static unsafe extern ulong GetUuid(UnsafeStructs.jack_port_t* port);
Beispiel #28
0
 public static unsafe extern int Disconnect(UnsafeStructs.jack_client_t* client, UnsafeStructs.jack_port_t* port);
Beispiel #29
0
 internal unsafe AudioInPort(UnsafeStructs.jack_client_t* jackClient, int index, string nameFormat = null)
     : base(jackClient, index, Direction.In, PortType.Audio, nameFormat)
 {
 }
Beispiel #30
0
 public static unsafe extern int EnsureMonitor(UnsafeStructs.jack_port_t* port, int onoff);