作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我正在查看Android API文档,并且在AudioManager页面中发现了以下属性。
PROPERTY_SUPPORT_MIC_NEAR_ULTRASOUND (Added in API level 23)
String PROPERTY_SUPPORT_MIC_NEAR_ULTRASOUND
Used as a key for getProperty(String) to determine if the default microphone audio source supports near-ultrasound frequencies (range of 18 - 21 kHz).
PROPERTY_SUPPORT_SPEAKER_NEAR_ULTRASOUND (Added in API level 23)
String PROPERTY_SUPPORT_SPEAKER_NEAR_ULTRASOUND
Used as a key for getProperty(String) to determine if the default speaker audio path supports near-ultrasound frequencies (range of 18 - 21 kHz).
最佳答案
我在Android 7.0兼容性定义文档中找到了它
7.8.3。近超声
近超声音频为18.5 kHz至20 kHz频段。设备实现必须通过AudioManager.getProperty API正确报告对近超声音频功能的支持,如下所示:
If PROPERTY_SUPPORT_MIC_NEAR_ULTRASOUND is "true", then the following requirements must be met by the VOICE_RECOGNITION and UNPROCESSED audio sources:
The microphone's mean power response in the 18.5 kHz to 20 kHz band MUST be no more than 15 dB below the response at 2 kHz.
The microphone's unweighted signal to noise ratio over 18.5 kHz to 20 kHz for a 19 kHz tone at -26 dBFS MUST be no lower than 50 dB.
If PROPERTY_SUPPORT_SPEAKER_NEAR_ULTRASOUND is "true", then the speaker's mean response in 18.5 kHz - 20 kHz MUST be no lower than 40 dB below the response at 2 kHz.
关于android - 传回PROPERTY_SUPPORT_MIC_NEAR ULTRASOUND和PROPERTY_SUPPORT_SPEAKER_NEAR ULTRASOUND的Android设备具有哪些功能,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40727177/
我是一名优秀的程序员,十分优秀!