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