Ejemplo n.º 1
0
 internal void EnqueueForStreaming(NativeAudioSource source)
 {
     lock (this.streamWorkerQueue) {
         if (this.streamWorkerQueue.Contains(source))
         {
             return;
         }
         this.streamWorkerQueue.Add(source);
     }
     this.streamWorkerQueueEvent.Set();
 }
Ejemplo n.º 2
0
 internal void EnqueueForStreaming(NativeAudioSource source)
 {
     lock (this.streamWorkerQueue)
     {
         if (this.streamWorkerQueue.Contains(source)) return;
         this.streamWorkerQueue.Add(source);
     }
     this.streamWorkerQueueEvent.Set();
 }