从 AudioManager 录制输出 - Android
我希望从设备而不是 MIC 录制音频。我浏览了所有常用的录音机和媒体录音机功能,但找不到任何内容。我想要的声音是来自“AudioManager.STREAM_MUSIC”的声音,但想不出保存它的方法。
为了详细说明,我需要保存/记录设备扬声器发出的声音。
非常感谢大家的帮助!
I am looking to record audio from the device and not from the MIC. I have looked through all the usual audiorecorder and mediarecorder functions and cant find anything on it. The sound that I want would be the sound from "AudioManager.STREAM_MUSIC" but cant think of a way to save it.
To elaborate I need to save/record the sound that would be coming out of the device speaker.
Any help VERY much appreciate guys!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
目前在 Android 中无法使用
AudioRecorder
或MediaRecorder
功能来执行此操作。There is currently no way to do this in Android using the
AudioRecorder
orMediaRecorder
functionality.