Enable snowboy to use several wakeword models

Snowboy could use several wakeword models, not only the first one.
pull/2499/head
dalgwen 2020-03-11 08:34:50 +01:00
parent 32557365da
commit 003f2920a3
1 changed files with 1 additions and 1 deletions

View File

@ -299,7 +299,7 @@ class SnowboyHotWord(HotWordEngine):
def found_wake_word(self, frame_data):
wake_word = self.snowboy.detector.RunDetection(frame_data)
return wake_word == 1
return wake_word >= 1
class PorcupineHotWord(HotWordEngine):