public CachedHidClient(IStreamDeckHid deckHid, IHardwareInternalInfos hardwareInformation) : base(deckHid, hardwareInformation) { imageQueue = new ConcurrentBufferedQueue <int, byte[]>(RelativeTimeSource.Default, hardwareInformation.KeyCooldown); writerTask = StartBitmapWriterTask(); }
private CachedHidClient(IStreamDeckHid deckHid, IHardwareInternalInfos hardwareInformation) : base(deckHid, hardwareInformation) { imageQueue = new ConcurrentBufferedQueue <int, byte[]>(RelativeTimeSource.Default, 75); writerTask = StartBitmapWriterTask(); keyPollingTask = StartKeyPollingTask(); }