Change audio output attribute of navigation 33/8333/1
authorNaoto Yamaguchi <i33399_YAMAGUCHI@aisin-aw.co.jp>
Thu, 19 Jan 2017 07:22:20 +0000 (16:22 +0900)
committerNaoto Yamaguchi <i33399_YAMAGUCHI@aisin-aw.co.jp>
Mon, 23 Jan 2017 14:59:06 +0000 (23:59 +0900)
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>
recipes-demo-hmi/navigation/navigation/flite.in
recipes-demo-hmi/navigation/navigation/jtalk.in

index fee0c1c..28b512c 100755 (executable)
@@ -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
 
index c0670f7..76900f4 100755 (executable)
@@ -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