REMOTE_SUBMIX, AUDIO_DEVICE_OUT_REMOTE_SUBMIX, AUDIO_DEVICE_IN_REMOTE_SUBMIX含义
来源:互联网 发布:linux下删除ftp用户 编辑:程序博客网 时间:2024/06/06 20:23
【释义】
在 Andorid 音频开发中,我们会看到叫做 REMOTE_SUBMIX 的音频类型,相应地在底层会有 AUDIO_DEVICE_OUT_REMOTE_SUBMIX 和 AUDIO_DEVICE_IN_REMOTE_SUBMIX 音频设备,在 audio_policy.conf 配置文件中也能看到 r_submix 设备。这次在开发中终于看到了这类音频的使用场景——使设备通过 WiFi 向 ChromeCast 设备传输 HDMI 数据(HDMI 同时含有视频数据和音频数据)。
我们可以查看官方文档获得更详细的信息,如下:
public static final int REMOTE_SUBMIX
Audio source for a submix of audio streams to be presented remotely.
An application can use this audio source to capture a mix of audio streams that should be transmitted to a remote receiver such as a Wifi display. While recording is active, these audio streams are redirected to the remote submix instead of being played on the device speaker or headset.
Certain streams are excluded from the remote submix, including STREAM_RING
, STREAM_ALARM
, and STREAM_NOTIFICATION
. These streams will continue to be presented locally as usual.
Capturing the remote submix audio requires the CAPTURE_AUDIO_OUTPUT
permission. This permission is reserved for use by system components and is not available to third-party applications.
【参考资料】
[1] 《MediaRecorder.AudioSource》
- REMOTE_SUBMIX, AUDIO_DEVICE_OUT_REMOTE_SUBMIX, AUDIO_DEVICE_IN_REMOTE_SUBMIX含义
- ->含义
- ``含义
- Synchronized含义
- "/"的含义
- static_cast 含义!
- /的含义
- Cache含义
- ORACLE_SID含义
- void含义
- ARRAY_SIZE含义
- explicit含义
- 版本号含义
- 各种含义
- requestScope含义
- VPN含义
- SYSCALL_DEFINE含义
- SYSCALL_DEFINE含义
- 【好文收藏】Reactive Extensions入门
- 你有必要知道的25个JavaScript面试题
- yum安装php7.0可以改变yum源
- 单项散列加密
- Debug Assertion Failed! f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\winhand.cpp
- REMOTE_SUBMIX, AUDIO_DEVICE_OUT_REMOTE_SUBMIX, AUDIO_DEVICE_IN_REMOTE_SUBMIX含义
- php变量类型转换
- Spring启动时报异常:No String constructor found on type [java.lang.reflect.Method]
- php借助mcript扩展实现对称加密
- JDBC中的DatabaseMetaData用法
- svn分支管理的使用与经验
- Sencha Touch 和 jQuery Mobile 的比较
- Java中JNI接口
- ruby语言