使用手机时,麦克风免提连接的Andr​​oid录音 [英] Android audio recording using phone microphone when handsfree is attached

查看:390
本文介绍了使用手机时,麦克风免提连接的Andr​​oid录音的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我蓝牙免提连接到Android手机设备,它是可能使用的手机麦克风录制声音,并听到它在免提?

When I connect bluetooth handsfree to Android phone device, is it possible to use phone microphone to record sound and hear it in the handsfree?

我设法通过电话麦克风录制声音,并听到它在手机扬声器或耳机。但是,当耳机麦克风具有典型免提,它记录使用免提麦克风默认声音。我需要某种方式静音麦克风免提和使用手机的麦克风。是否有可能在Android的?

I manage to record sound by phone microphone and hear it on the phone speaker or headphones. But when the headphones has microphone, typically handsfree, it records sound using handsfree microphone by default. I need to mute somehow handsfree microphone and use phone microphone. Is it possible in Android?

我还没有找到任何答案。在Android开发者,#1,一事无成。在此先感谢!

I haven't found any answer. At android developers, Stackoverflow, nowhere. Thanks in advance!

推荐答案

您可以尝试使用MediaRecorder.AudioSource.CAMCORDER录制的声音。

you can try to use the MediaRecorder.AudioSource.CAMCORDER to record the audio.

麦克风音频源以相同的方位摄像头(如果可用),主要设备的麦克风,否则

这篇关于使用手机时,麦克风免提连接的Andr​​oid录音的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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