Пример #1
0
 internal void EnqueueForStreaming(NativeAudioSource source)
 {
     lock (this.streamWorkerQueue) {
         if (this.streamWorkerQueue.Contains(source))
         {
             return;
         }
         this.streamWorkerQueue.Add(source);
     }
     this.streamWorkerQueueEvent.Set();
 }
Пример #2
0
 internal void EnqueueForStreaming(NativeAudioSource source)
 {
     lock (this.streamWorkerQueue)
     {
         if (this.streamWorkerQueue.Contains(source)) return;
         this.streamWorkerQueue.Add(source);
     }
     this.streamWorkerQueueEvent.Set();
 }