Esempio n. 1
0
 protected StreamThread(CancellationToken token, StreamKind kind, UsbDevStream dev, IOutTarget target, byte[] magic, int BufMax)
 {
     Token       = token;
     Kind        = kind;
     Device      = dev;
     Target      = target;
     MagicPacket = magic;
     MaxBufSize  = BufMax;
 }
Esempio n. 2
0
 public AudioStreamThread(CancellationToken token, IOutTarget StreamTarget, UsbDevStream InputDevice, bool PrintStatsArg = false) :
     base(token, StreamKind.Audio, InputDevice, StreamTarget, REQMagic_AUDIO, AbufMaxSz)
 {
     PrintStats = PrintStatsArg;
 }
Esempio n. 3
0
 public VideoStreamThread(CancellationToken token, IOutTarget StreamTarget, UsbDevStream InputDevice, bool PrintStatsArg = false) :
     base(token, StreamKind.Video, InputDevice, StreamTarget, REQMagic_VIDEO, VbufMaxSz)
 {
     PrintStats = PrintStatsArg;
 }