mirror of https://bitbucket.org/ausocean/av.git
treat: make default audio path non relative
This commit is contained in:
parent
55e583cdb5
commit
b0e3240ebc
|
@ -89,7 +89,7 @@ func main() {
|
|||
mts.Meta = meta.NewWith([][2]string{{metaPreambleKey, metaPreambleData}})
|
||||
|
||||
// Set up the player command with audio file path.
|
||||
filePtr := flag.String("path", "~/audio.wav", "Path to sound file we wish to play.")
|
||||
filePtr := flag.String("path", "/home/pi/audio.wav", "Path to sound file we wish to play.")
|
||||
flag.Parse()
|
||||
|
||||
// Create lumberjack logger to handle logging to file.
|
||||
|
|
Loading…
Reference in New Issue