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.
精彩评论