Android: Recording SoundPool output

房东的猫 提交于 2019-12-08 17:13:49

问题


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?


回答1:


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.



来源:https://stackoverflow.com/questions/3269854/android-recording-soundpool-output

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!