Ejemplo n.º 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);
 }
Ejemplo n.º 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);
 }
Ejemplo n.º 3
0
 public static unsafe extern int IsConnected(UnsafeStructs.jack_port_t* port);
Ejemplo n.º 4
0
 public static unsafe extern IntPtr GetType(UnsafeStructs.jack_port_t* port);
Ejemplo n.º 5
0
 public static unsafe extern int GetPortFlags(UnsafeStructs.jack_port_t* port);
Ejemplo n.º 6
0
 public static unsafe extern UnsafeStructs.jack_port_t* GetPortById(UnsafeStructs.jack_client_t* client, uint portId);
Ejemplo n.º 7
0
 public static unsafe extern IntPtr GetConnections(UnsafeStructs.jack_port_t* port);
Ejemplo n.º 8
0
 public static unsafe extern float* GetBuffer(UnsafeStructs.jack_port_t* port, uint frames);
Ejemplo n.º 9
0
 public static unsafe extern int RequestMonitor(UnsafeStructs.jack_port_t* port, int onoff);
Ejemplo n.º 10
0
 public static unsafe extern UnsafeStructs.jack_port_t* Register(UnsafeStructs.jack_client_t* client, string portName, string portType, JackPortFlags portFlags, ulong bufferSize);
Ejemplo n.º 11
0
 public static unsafe extern int RecomputeTotalLatencies(UnsafeStructs.jack_client_t* client);
Ejemplo n.º 12
0
 public static unsafe extern int MonitoringInput(UnsafeStructs.jack_port_t* port);
Ejemplo n.º 13
0
 public static unsafe extern int IsMine(UnsafeStructs.jack_client_t* client, UnsafeStructs.jack_port_t* port);
Ejemplo n.º 14
0
 public static unsafe extern int IsConnectedTo(UnsafeStructs.jack_port_t* port, string portName);
Ejemplo n.º 15
0
 public static unsafe extern int SetXrunCallback(UnsafeStructs.jack_client_t* client, Callbacks.JackXRunCallback xrunCallback, IntPtr arg);
Ejemplo n.º 16
0
 public static unsafe extern int GetAliases(UnsafeStructs.jack_port_t* port, IntPtr[] aliases);
Ejemplo n.º 17
0
 public static unsafe extern IntPtr GetAllConnections(UnsafeStructs.jack_client_t* client, UnsafeStructs.jack_port_t* port);
Ejemplo n.º 18
0
 public static unsafe extern int RequestMonitorByName(UnsafeStructs.jack_client_t* client, string portName, int onoff);
Ejemplo n.º 19
0
 public static unsafe extern uint GetBufferSize(UnsafeStructs.jack_client_t* client, string portType);
Ejemplo n.º 20
0
 public static unsafe extern int SetName(UnsafeStructs.jack_port_t* port, string portName);
Ejemplo n.º 21
0
 public static unsafe extern void GetLatencyRange(UnsafeStructs.jack_port_t* port, JackLatencyCallbackMode mode, IntPtr range);
Ejemplo n.º 22
0
 public static unsafe extern int Unregister(UnsafeStructs.jack_client_t* client, UnsafeStructs.jack_port_t* port);
Ejemplo n.º 23
0
 public static unsafe extern UnsafeStructs.jack_port_t* GetPortByName(UnsafeStructs.jack_client_t* client, string portName);
Ejemplo n.º 24
0
 public static unsafe extern int UnsetAlias(UnsafeStructs.jack_port_t* port, string alias);
Ejemplo n.º 25
0
 public static unsafe extern IntPtr GetPorts(UnsafeStructs.jack_client_t* client, string portNamePattern, string typeNamePattern, ulong flags);
Ejemplo n.º 26
0
 public static unsafe extern int Disconnect(UnsafeStructs.jack_client_t* client, string sourcePort, string destinationPort);
Ejemplo n.º 27
0
 public static unsafe extern ulong GetUuid(UnsafeStructs.jack_port_t* port);
Ejemplo n.º 28
0
 public static unsafe extern int Disconnect(UnsafeStructs.jack_client_t* client, UnsafeStructs.jack_port_t* port);
Ejemplo n.º 29
0
 internal unsafe AudioInPort(UnsafeStructs.jack_client_t* jackClient, int index, string nameFormat = null)
     : base(jackClient, index, Direction.In, PortType.Audio, nameFormat)
 {
 }
Ejemplo n.º 30
0
 public static unsafe extern int EnsureMonitor(UnsafeStructs.jack_port_t* port, int onoff);