private void UpdateColors(object?sender, DreamScreenClient.DeviceColorEventArgs e) { var colors = e.Colors; var frame = _builder.Build(colors); Log.Debug("Update: DS"); _splitter.Update(frame).ConfigureAwait(false); frame.Dispose(); _cs.Counter.Tick("Dreamscreen"); }
private static void ColorsReceived(object?sender, DreamScreenClient.DeviceColorEventArgs e) { Console.WriteLine("Colors received: " + JsonConvert.SerializeObject(e.Colors)); }