summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNaoto Yamaguchi <i33399_YAMAGUCHI@aisin-aw.co.jp>2017-01-19 16:22:20 +0900
committerNaoto Yamaguchi <i33399_YAMAGUCHI@aisin-aw.co.jp>2017-01-23 23:59:06 +0900
commitf41fbb27a91fa554b5425c0c32dcbc1cf4612182 (patch)
tree3a2e66d44ec64e703adcf21fa7e0f5b5e27c7b76
parent8d7da20b1a3d845b97e2972696170b4008882ffc (diff)
Change audio output attribute of navigation
AudoManager determines the audio attribute with the parameter "media.role". Since Navigation was using "media.name", change it to use "media.role". Change-Id: I0af2ff068eeff5eab4e6bf28797f5aeab386c880 Signed-off-by: Naoto Yamaguchi <i33399_YAMAGUCHI@aisin-aw.co.jp>
-rwxr-xr-xrecipes-demo-hmi/navigation/navigation/flite.in2
-rwxr-xr-xrecipes-demo-hmi/navigation/navigation/jtalk.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/recipes-demo-hmi/navigation/navigation/flite.in b/recipes-demo-hmi/navigation/navigation/flite.in
index fee0c1c24..28b512c86 100755
--- a/recipes-demo-hmi/navigation/navigation/flite.in
+++ b/recipes-demo-hmi/navigation/navigation/flite.in
@@ -1,6 +1,6 @@
#!/bin/sh
TMP=/tmp/navi.wav
echo "$1" | flite_hts_engine -m @datadir@/Voice/us/cmu_us_arctic_slt.htsvoice -o $TMP
-paplay --property='media.name=Navi' $TMP
+paplay --property='media.role=Navi' $TMP
rm -f $TMP
diff --git a/recipes-demo-hmi/navigation/navigation/jtalk.in b/recipes-demo-hmi/navigation/navigation/jtalk.in
index c0670f7e6..76900f4cc 100755
--- a/recipes-demo-hmi/navigation/navigation/jtalk.in
+++ b/recipes-demo-hmi/navigation/navigation/jtalk.in
@@ -1,6 +1,6 @@
#!/bin/sh
TMP=/tmp/navi.wav
echo "$1" | open_jtalk -ow $TMP -m @exec_prefix@/share/Voice/mei/mei_normal.htsvoice -x @exec_prefix@/share/dic/
-paplay --property='media.name=Navi' $TMP
+paplay --property='media.role=Navi' $TMP
rm -f $TMP