Esempio n. 1
0
 public void BufferedReadNotifyPipe(byte pipeId, NewDataCallback callback)
 {
     if (!bufferedPipes.ContainsKey(pipeId))
     {
         throw new Exception("Pipe not enabled for buffered reads!");
     }
     bufferedPipes[pipeId].NewDataEvent += callback;
 }
Esempio n. 2
0
 internal static extern NNStreamerError RegisterSinkCallback(IntPtr pipeline_handle, string sink_name, NewDataCallback callback, IntPtr user_data, out IntPtr sink_handle);
Esempio n. 3
0
 public void BufferedReadNotifyPipe(byte pipeId, NewDataCallback callback)
 {
     if (!bufferedPipes.ContainsKey(pipeId))
     {
         throw new Exception("Pipe not enabled for buffered reads!");
     }
     bufferedPipes[pipeId].NewDataEvent += callback;
 }