From 0736baea4be08292ce95ae4fbf9531a5b5984087 Mon Sep 17 00:00:00 2001 From: onyx-and-iris Date: Sat, 31 Jan 2026 02:21:13 +0000 Subject: [PATCH] zero val --- internal/xair/client.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/xair/client.go b/internal/xair/client.go index 0a74828..2e3179f 100644 --- a/internal/xair/client.go +++ b/internal/xair/client.go @@ -334,7 +334,7 @@ func (c *Client) BusMute(bus int) (bool, error) { func (c *Client) SetBusMute(bus int, muted bool) error { formatter := c.addressMap["bus"] address := fmt.Sprintf(formatter, bus) + "/mix/on" - var value int32 = 0 + var value int32 if !muted { value = 1 } @@ -405,7 +405,7 @@ func (c *Client) MainLRMute() (bool, error) { // SetMainLRMute sets the main L/R mute status func (c *Client) SetMainLRMute(muted bool) error { - var value int32 = 0 + var value int32 if !muted { value = 1 }