Questions tagged [mediatoolbox]

3 questions
2
votes
1 answer

What could be preventing the process callback from being called with an MTAudioProcessingTap?

I've prepared an AVPlayer and AVAssetExportSession which both use the same MTAudioProcessingTap yet I cannot get either to call the process callback. I'd appreciate some help with identifying why the callback is not being called while others are. I…
Brennan
  • 11,546
  • 16
  • 64
  • 86
2
votes
1 answer

Create MTAudioProcessingTapCallbacks in Swift 2

I've been banging my head on the wall for hours trying to create a MTAudioProcessingTapCallbacks from the MediaToolbox library, using Swift 2. I found this great article with an implementation in Objective-C, so I thought I would try to re-write it…
Sam Salisbury
  • 1,066
  • 11
  • 19
0
votes
2 answers

MTAudioProcessingTap - produce more output samples?

Inside my iOS 8.0. App I need to apply some custom audio processing on (non-realtime) audio playback. Typically, the audio comes from a device-local audio file. Currently, I use MTAudioProcessingTap on a AVMutableAudioMix. Inside the process…
gabelkonus
  • 466
  • 1
  • 4
  • 13