[8.0.0]调整TTS语音+下架V2N绿波通行
This commit is contained in:
@@ -227,16 +227,17 @@ class RoadCrossRoamView @JvmOverloads constructor(
|
||||
}
|
||||
isShow = true
|
||||
//播放语音
|
||||
val dis = CallerMapRoadListenerManager.getStopLineDistance()?.toInt() ?: 0
|
||||
// val dis = CallerMapRoadListenerManager.getStopLineDistance()?.toInt() ?: 0
|
||||
if (AppIdentityModeUtils.isDriver(FunctionBuildConfig.appIdentityMode)) {
|
||||
var disStr = "前方即将通过路口,${
|
||||
SkinResources.getInstance().getString(R.string.operation_platform_name)
|
||||
}为您提供路口全息影像,助力出行"
|
||||
if (dis >= 80) {
|
||||
disStr = "前方${dis}米将通过路口,${
|
||||
SkinResources.getInstance().getString(R.string.operation_platform_name)
|
||||
}为您提供路口全息影像,助力出行"
|
||||
}
|
||||
// var disStr = "前方即将通过路口,${
|
||||
// SkinResources.getInstance().getString(R.string.operation_platform_name)
|
||||
// }为您提供路口全息影像,助力出行"
|
||||
// if (dis >= 80) {
|
||||
// disStr = "前方${dis}米将通过路口,${
|
||||
// SkinResources.getInstance().getString(R.string.operation_platform_name)
|
||||
// }为您提供路口全息影像,助力出行"
|
||||
// }
|
||||
val disStr = "为您提供路口全息影像,助力出行"
|
||||
AIAssist.getInstance(context).speakTTSVoiceWithLevel(disStr, AIAssist.NEW_LEVEL_2)
|
||||
}
|
||||
CallerHmiViewControlListenerManager.invokeV2XEvent(View.VISIBLE, TAG)
|
||||
|
||||
Reference in New Issue
Block a user