jakebromberg / MTAudioProcessingTap-in-Swift

Example of creating an MTAudioProcessingTap in Swift2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

An example of how to get going with MTAudioProcessingTap audio “taps” in Swift 3. The tap itself is not particularly difficult, but the c-callbacks and casts in Swift can take many hours of googling and trawling stackoverflow (at least for me).

Includes attaching an MTAudioProcessingTap to a remote AVPlayer, c callbacks in swift, casting self to and from UnsafeMutableRawPointer, MTAudioProcessingTapCreate, AVMutableAudioMixInputParameters .

About

Example of creating an MTAudioProcessingTap in Swift2


Languages

Language:Swift 100.0%