开发者

Android: Recording SoundPool output

开发者 https://www.devze.com 2023-01-07 12:00 出处:网络
I\'m allowing the user to push buttons to play sounds via a SoundPool.Is it possible to record whatever the So开发者_Go百科undPool is playing so that the user can record a sequence of sounds?Actually

I'm allowing the user to push buttons to play sounds via a SoundPool. Is it possible to record whatever the So开发者_Go百科undPool is playing so that the user can record a sequence of sounds?


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消