diff --git a/docs/about.html b/docs/about.html index 6920ac4..4d9f33d 100644 --- a/docs/about.html +++ b/docs/about.html @@ -42,9 +42,9 @@
Upphafsmaður Emblu og höfundur smáforritsins er Sveinbjörn Þórðarson.
+Upphafsmaður Emblu og höfundur forritsins er Sveinbjörn Þórðarson.
-Aðrir í teymi Miðeindar eru:
+Önnur í teymi Miðeindar eru:
Elías Bjartur Einarsson
diff --git a/lib/common.dart b/lib/common.dart index 25bdc9d..0cbcf18 100644 --- a/lib/common.dart +++ b/lib/common.dart @@ -29,7 +29,7 @@ const String kSoftwareAuthor = 'Miðeind ehf.'; // Hotword detection const String kHotwordModelName = 'hae_embla.pmdl'; const double kHotwordSensitivity = 0.48; -const double kHotwordAudioGain = 1.12; +const double kHotwordAudioGain = 1.08; const bool kHotwordApplyFrontend = false; const String kHotwordAssetsDirectory = 'assets/hotword'; diff --git a/lib/main.dart b/lib/main.dart index ae8f56b..9e17f82 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -76,6 +76,10 @@ void main() async { if (Prefs().stringForKey("asr_engine") == null) { Prefs().setStringForKey("asr_engine", kDefaultASREngine); } + // Make sure query_server is set + if (Prefs().stringForKey("query_server") == null) { + Prefs().setStringForKey("query_server", kDefaultQueryServer); + } dlog("Shared prefs: ${Prefs()}");