继续谷歌搜索更新后,语音识别提示音 [英] Continues Speech Recognition beep sound after Google Search update

查看:295
本文介绍了继续谷歌搜索更新后,语音识别提示音的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个应用程序,不断聆听语音并将其转换为使用谷歌语音的API命令。

I have an app that keeps on listening to voice and converting it to commands using Google Voice API.

我一直在使用 setStreamMute(AudioManager.STREAM_SYSTEM,真)静音蜂鸣和它的工作,直到前谷歌搜索的新更新之前几天。 请问有什么解决办法修复了么?

I have been using setStreamMute(AudioManager.STREAM_SYSTEM, true) to mute the beep and it worked until a couple of days ago before "Google Search" new update. Is there any workaround fix for it?

我知道我可以使用 setRingerMode(AudioManager.RINGER_MODE_SILENT),但也许有另一种方法?

I know I can use setRingerMode(AudioManager.RINGER_MODE_SILENT), but maybe there is another method?

推荐答案

在更新他们交换了嘟嘟的输出,以媒体流。

In the update they switched the output of the 'beep' to the media stream.

所以,你需要静音 AudioManager.STREAM_MUSIC

有一个增强请求一下这里

这篇关于继续谷歌搜索更新后,语音识别提示音的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆