قالب وردپرس درنا توس
Home / IOS Development / How to sync AVAudioEngine with AVPlayer for custom audio + video playback: iOSProgramming

How to sync AVAudioEngine with AVPlayer for custom audio + video playback: iOSProgramming



I create an app that uses an AVAudioEngine to let the user change the speed and pitch of the audio in real time. I'm trying to get this synced with an AVPlayer for video playback, but can't find a way to connect the two. I saw the WWDC12 video on real-time sound effect / playback, but have not been able to find anything in the AVAudioEngine documents about connecting it to a CMClock reference.

Is it possible to synchronize a custom audio AVAudioEngine with an AVPlayer for video playback? If not, what better way to solve my problem?


Source link