开发者

Recording an AudioTrack to a sound file

开发者 https://www.devze.com 2023-04-07 01:33 出处:网络
I am creating PCM data (from sine waves) and piping them to the speakers using AudioTrack. I\'d like to record this as a wav file (or a comparable format). I\'ve looked at AudioRecord but it takes a

I am creating PCM data (from sine waves) and piping them to the speakers using AudioTrack.

I'd like to record this as a wav file (or a comparable format). I've looked at AudioRecord but it takes a source, and seems to want a microphone. Can I pipe my own PCM data into AudioRecord without 开发者_如何学Goa source so it saves my audio? Or is there another way to accomplish this.

Many thanks.

0

精彩评论

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