diff options
author | xegineering <me@xegineering.eu> | 2024-12-08 18:36:10 +0100 |
---|---|---|
committer | xegineering <me@xegineering.eu> | 2024-12-08 18:36:10 +0100 |
commit | 477fb59944222966b8a9fc1d92893a336e827285 (patch) | |
tree | e18b861d7ea2f59b756ae5ae4679d459861d5816 | |
parent | f30e3668a6a65a8e5e43b3cc0b2030788b43857d (diff) | |
download | soundbox-go-477fb59944222966b8a9fc1d92893a336e827285.tar soundbox-go-477fb59944222966b8a9fc1d92893a336e827285.tar.zst soundbox-go-477fb59944222966b8a9fc1d92893a336e827285.zip |
Apply go fmt
-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 } |