Android:录制 SoundPool 输出
我允许用户按下按钮通过 SoundPool 播放声音。是否可以录制 SoundPool 正在播放的任何内容,以便用户可以录制一系列声音?
I'm allowing the user to push buttons to play sounds via a SoundPool. Is it possible to record whatever the SoundPool is playing so that the user can record a sequence of sounds?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
实际上不可能捕捉到播放的声音。我也有同样的愿望,但现在只能记录扬声器的输出。为此,您必须使用 MediaRecorder 并“实时”录制。但我认为这不是一个好的解决方案,会有很多背景声音。
Actually there is no possibility to catch played sound. I had the same wish to do this, but for now, it is just possible with record the output of the speaker. For this, You have to use MediaRecorder and record just "live". But I don´t think it is a good solution, there will be much background sounds.