From af393b0e4067a39f24f3fec2a5a9bc4a56927bfc Mon Sep 17 00:00:00 2001 From: Junv Zhao Date: Wed, 28 Jun 2017 12:52:33 +0800 Subject: [PATCH] try to fix the pronounce issue under winddows --- main.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/main.go b/main.go index c72d091..a5fc298 100644 --- a/main.go +++ b/main.go @@ -163,8 +163,7 @@ func speak() { } return } - command := exec.Command(getAudioFilePath()) - // command := exec.Command("cmdmp3.exe", getAudioFilePath()) + command := exec.Command("cmdmp3", getAudioFilePath()) if err := command.Run(); err != nil { log.Error("Failed to say the words: " + err.Error()) }