private void IOUpdateHandler(object sender, AudioServiceUpdate message)
        {
            RemoteControlData WSData = new RemoteControlData();

            WSData.data = message.volumes;
            WSData.type = RemoteControlDataType.VolumeUpdate;

            // TODO Send volumes update to client
            webSocketEngine.SendData(WSData);
        }
Beispiel #2
0
 public AudioService()
 {
     AudioServiceUpdate     = new AudioServiceUpdate();
     RefreshApplicationList = Task.Run(RefreshApplicationListTask);
 }