mirror of https://bitbucket.org/ausocean/av.git
cmd/audio-player/looper: make minor formatting changes
This commit is contained in:
parent
fe983b123c
commit
89691e9689
|
@ -1,9 +1,10 @@
|
||||||
/*
|
/*
|
||||||
NAME
|
DESCRIPTION
|
||||||
audio-player/looper/main.go
|
Looper is a program that loops an audio file.
|
||||||
|
|
||||||
AUTHORS
|
AUTHORS
|
||||||
Ella Pietraroia <ella@ausocean.org>
|
Ella Pietraroia <ella@ausocean.org>
|
||||||
|
Scott Barnard <scott@ausocean.org>
|
||||||
|
|
||||||
LICENSE
|
LICENSE
|
||||||
audio player is Copyright (C) 2020 the Australian Ocean Lab (AusOcean)
|
audio player is Copyright (C) 2020 the Australian Ocean Lab (AusOcean)
|
||||||
|
@ -58,7 +59,7 @@ func main() {
|
||||||
initCommand()
|
initCommand()
|
||||||
|
|
||||||
// Infinite loop that outputs audio and gathers debug information.
|
// Infinite loop that outputs audio and gathers debug information.
|
||||||
numPlays := 0
|
var numPlays int
|
||||||
for {
|
for {
|
||||||
numPlays++
|
numPlays++
|
||||||
log.Printf("debug: play number: %d\n", numPlays)
|
log.Printf("debug: play number: %d\n", numPlays)
|
||||||
|
|
Loading…
Reference in New Issue