From 477fb59944222966b8a9fc1d92893a336e827285 Mon Sep 17 00:00:00 2001 From: xegineering Date: Sun, 8 Dec 2024 18:36:10 +0100 Subject: Apply go fmt --- soundbox/pipewire.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/soundbox/pipewire.go b/soundbox/pipewire.go index fcb5968..00bbe49 100644 --- a/soundbox/pipewire.go +++ b/soundbox/pipewire.go @@ -10,8 +10,8 @@ import ( "bytes" "context" "io" - "net" "log" + "net" "os/exec" "unsafe" ) @@ -21,7 +21,7 @@ var pipewireAudio = make(chan []byte, 5) func s16leDropSilence(input []byte) []byte { output := make([]byte, 0) - for i := 0; i < (len(input)-1); i+=2 { + for i := 0; i < (len(input) - 1); i += 2 { if input[i] == byte(0) && input[i+1] == byte(0) { continue } -- cgit v1.2.3-70-g09d2