diff options
-rw-r--r-- | soundbox/pipewire.go | 4 |
1 files 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 } |