0

There are many audio generated from my app, the sources could be AVPlayer, AudioUnit, etc. I want to record all the audio(not from mic because that would record user voice) into a single file. Is there any way to get the final mixed audio data before sent to the audio playback hardware?

I've tried AudioUnit, and The Amazing Audio Engine. However it could only record audio played by AudioUnit.

Also read the MTAudioProcessingTap, but it has to inject some code into AVPlayer, and seems complicated to mix all the audio.

feihu
  • 1,935
  • 16
  • 24
  • I'm wondering if what was presented at the WWDC this year regarding AVAudioEngine and new rendering options might not help (https://developer.apple.com/videos/play/wwdc2017/501/). – filaton Jun 08 '17 at 12:52
  • @filaton thanks, i would give it a try. – feihu Jun 08 '17 at 13:08

0 Answers0