Exemple #1
0
        public void method_6()
        {
            if (Thread.CurrentThread.ManagedThreadId != this.thread_0.ManagedThreadId)
            {
                lock (this.queue_1)
                {
                    this.queue_1.Enqueue(new WaveOutput.Class164(WaveOutput.Enum19.const_4, null));
                    this.autoResetEvent_0.Set();
                }
                return;
            }
            this.method_9(0);
            Enum18 @enum;

            lock (this.object_0)
            {
                @enum = Class162.waveOutRestart(this.intptr_0);
            }
            if (@enum != Enum18.const_0)
            {
                throw new Exception4(@enum, "waveOutRestart");
            }
            if (!this.stopwatch_0.IsRunning)
            {
                this.stopwatch_0.Start();
            }
            if (!this.bool_1)
            {
                ThreadPool.QueueUserWorkItem(new WaitCallback(this.method_11));
            }
        }
Exemple #2
0
 public void method_3()
 {
     Class162.waveOutRestart(this.intptr_0);
 }