diff options
author | Naoto Yamaguchi <i33399_YAMAGUCHI@aisin-aw.co.jp> | 2017-01-19 16:22:20 +0900 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2017-01-23 16:50:42 +0000 |
commit | fb92e316727a1ad0012ac90ed52c5d9cecdcf433 (patch) | |
tree | 02aac41561abb9df35c16c01badfbbf000d94b3d /recipes-demo-hmi | |
parent | 62e24cf7942c7ea21b90780e15eb40174b5b2482 (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>
Diffstat (limited to 'recipes-demo-hmi')
-rwxr-xr-x | recipes-demo-hmi/navigation/navigation/flite.in | 2 | ||||
-rwxr-xr-x | recipes-demo-hmi/navigation/navigation/jtalk.in | 2 |
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 |