Ejemplo n.º 1
0
        protected unsafe ClientStatus BaseOpen(bool startServer)
        {
            if (JackClient != null)
            {
                return(ClientStatus.AlreadyThere);
            }
            JackOptions startOptions = startServer ? JackOptions.JackNullOption : JackOptions.JackNoStartServer;

            JackClient = ClientApi.Open(Name, startOptions, IntPtr.Zero);
            if (JackClient == null)
            {
                return(ClientStatus.Failure);
            }
            return(ClientStatus.New);
        }
Ejemplo n.º 2
0
 public static unsafe extern UnsafeStructs.jack_client_t* Open(string clientName, JackOptions options, params IntPtr[] status);
Ejemplo n.º 3
0
 public static extern unsafe UnsafeStructs.jack_client_t *Open(string clientName, JackOptions options, params IntPtr[] status);