Exemple #1
0
        protected virtual unsafe bool Start(bool startServer)
        {
            if (IsConnectedToJack)
            {
                return(false);
            }
            if (!Open(startServer))
            {
                return(false);
            }
            int status = ClientApi.Activate(JackClient);

            if (status != 0)
            {
                return(false);
            }
            SampleRate        = (int)Invoke.GetSampleRate(JackClient);
            BufferSize        = (int)Invoke.GetBufferSize(JackClient);
            IsConnectedToJack = true;
            return(true);
        }