From 89691e9689af83eb22e48a11dc8de4f6e5fec0fc Mon Sep 17 00:00:00 2001 From: Scott Date: Fri, 28 Feb 2020 13:57:58 +1030 Subject: [PATCH] cmd/audio-player/looper: make minor formatting changes --- cmd/audio-player/looper/main.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/cmd/audio-player/looper/main.go b/cmd/audio-player/looper/main.go index 1ef858ec..b32e71f5 100644 --- a/cmd/audio-player/looper/main.go +++ b/cmd/audio-player/looper/main.go @@ -1,9 +1,10 @@ /* -NAME - audio-player/looper/main.go +DESCRIPTION + Looper is a program that loops an audio file. AUTHORS Ella Pietraroia + Scott Barnard LICENSE audio player is Copyright (C) 2020 the Australian Ocean Lab (AusOcean) @@ -58,7 +59,7 @@ func main() { initCommand() // Infinite loop that outputs audio and gathers debug information. - numPlays := 0 + var numPlays int for { numPlays++ log.Printf("debug: play number: %d\n", numPlays)