Esempio n. 1
0
 void SendTrackingInformation()
 {
     while (true)
     {
         TrackingInformation i = trackingInformationQueue.Take();
         if (i != null && capturing)
         {
             i.Send(1, osc, null);
         }
     }
 }
Esempio n. 2
0
 void SendTrackingInformation()
 {
     while (true)
     {
         TrackingInformation i = trackingInformationQueue.Take();
         if (i != null && capturing)
         {
             if (fileWriter != null)
             {
                 lock (fileWriter)
                 {
                     i.Send(pointScale, osc, fileWriter);
                 }
             }
             else
             {
                 i.Send(pointScale, osc, fileWriter);
             }
         }
     }
 }