/// <summary>
 /// Add data to the file writer
 /// </summary>
 public void AddData(IBFSample data)
 {
     if (FileWritingTask != null)
     {
         Data.Enqueue(data);
         NotifyAddedData.Release();
     }
 }
 /// <summary>
 /// Add a chunk of data to the file writer
 /// </summary>
 public void AddData(IEnumerable <IBFSample> chunk)
 {
     if (FileWritingTask != null)
     {
         Data.AddRange(chunk);
         NotifyAddedData.Release();
     }
 }
Beispiel #3
0
 /// <summary>
 /// Add data to the proecssor queue
 /// </summary>
 public void AddDataToProcessor(IBFSample data)
 {
     DataToProcess.Enqueue(data);
     NotifyAddedData.Release();
 }