Introduce a setMute protocol action and an NAudio-backed AudioControlService so the Android client can toggle the Windows render endpoint mute state over WebSocket. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
16 lines
341 B
C#
16 lines
341 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace WirelessTextSyncer.Windows.Models;
|
|
|
|
public sealed record SyncMessage
|
|
{
|
|
[JsonPropertyName("action")]
|
|
public SyncAction Action { get; init; }
|
|
|
|
[JsonPropertyName("text")]
|
|
public string? Text { get; init; }
|
|
|
|
[JsonPropertyName("muted")]
|
|
public bool? Muted { get; init; }
|
|
}
|