From 7e62fce409fee102610762a05a27c851237fe479 Mon Sep 17 00:00:00 2001 From: "Clayton G. Hobbs" Date: Sat, 30 Apr 2016 22:03:45 -0400 Subject: Update to work with the latest pocketsphinx Apparently CMU thinks it's a good idea to release a new version of a piece of software that breaks existing APIs without even changing the version number. I find this idea to be highly dubious at best. Nevertheless, I have updated Kaylee to support the latest version of pocketsphinx. --- kayleevc/recognizer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kayleevc/recognizer.py b/kayleevc/recognizer.py index b54c055..09e14e4 100644 --- a/kayleevc/recognizer.py +++ b/kayleevc/recognizer.py @@ -35,7 +35,7 @@ class Recognizer(GObject.GObject): ' ! audioconvert' + ' ! audioresample' + ' ! pocketsphinx lm=' + config.lang_file + ' dict=' + - config.dic_file + ' configured=true' + + config.dic_file + ' ! appsink sync=false' ) try: -- cgit 1.4.1