diff options
author | William Wilgus <wilgus.william@gmail.com> | 2020-09-20 13:29:02 -0400 |
---|---|---|
committer | William Wilgus <wilgus.william@gmail.com> | 2020-09-20 16:08:49 -0400 |
commit | 2ffe87902dc72b4c26032c94e8250ff92d2888dc (patch) | |
tree | 9a6cf73d37a5a5e3f93813b44720c1bd5604ddd9 /apps/lang/lang.make | |
parent | c528c01312d85e2d177bcc05ce82a29c97b803cc (diff) | |
download | rockbox-2ffe87902dc72b4c26032c94e8250ff92d2888dc.tar.gz rockbox-2ffe87902dc72b4c26032c94e8250ff92d2888dc.zip |
Add Invalid Voice Announcement to the voice system FS#13216
When a voice file is invalid or fails to load the voice system splash a
message 'Invalid Voice'
Now we supply a single voice file (currently only english is used)
the support for other languages is in but I haven't set it up to
look for anything but InvalidVoice_english.talk
Also adds a one time kill voice thread function
ie. it doesn't allow re-init after killing the voice thread & queue
Change-Id: I7b43f340c3cc65c65110190f0e0075b31218a7ac
Diffstat (limited to 'apps/lang/lang.make')
-rw-r--r-- | apps/lang/lang.make | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/lang/lang.make b/apps/lang/lang.make index 807ac0f53f..73b6dce3de 100644 --- a/apps/lang/lang.make +++ b/apps/lang/lang.make | |||
@@ -54,6 +54,10 @@ $(BUILDDIR)/%.lng $(BUILDDIR)/%.vstrings: $(ROOTDIR)/%.lang $(BUILDDIR)/apps/gen | |||
54 | $(SILENT)$(TOOLSDIR)/genlang -e=$(APPSDIR)/lang/$(ENGLISH).lang -t=$(MODELNAME):`cat $(BUILDDIR)/apps/genlang-features` -i=$(TARGET_ID) -b=$*.lng -c=$*.vstrings $@.tmp | 54 | $(SILENT)$(TOOLSDIR)/genlang -e=$(APPSDIR)/lang/$(ENGLISH).lang -t=$(MODELNAME):`cat $(BUILDDIR)/apps/genlang-features` -i=$(TARGET_ID) -b=$*.lng -c=$*.vstrings $@.tmp |
55 | $(SILENT)rm -f $@.tmp | 55 | $(SILENT)rm -f $@.tmp |
56 | 56 | ||
57 | $(BUILDDIR)/apps/lang/voicestrings.zip: $(VOICEOBJ) | 57 | $(BUILDDIR)/apps/lang/voicestrings.zip: $(VOICEOBJ) $(wildcard $(BUILDDIR)/apps/lang/*.talk) |
58 | $(call PRINTS,ZIP $(subst $(BUILDDIR)/,,$@)) | 58 | $(call PRINTS,ZIP $(subst $(BUILDDIR)/,,$@)) |
59 | $(SILENT)zip -9 -q $@ $(subst $(BUILDDIR)/,,$^) | 59 | $(SILENT)zip -9 -q $@ $(subst $(BUILDDIR)/,,$^) |
60 | |||
61 | #copy any included talk files to the /lang directory | ||
62 | $(BUILDDIR)/apps/lang/%.talk: $(ROOTDIR)/apps/lang/%.talk | ||
63 | $(call PRINTS,CP $(subst $(ROOTDIR)/,,$<))cp $< $(BUILDDIR)/apps/lang | ||