问题
I am able to play songs from iPod library using AVPlayer class. Now what I want to do is to insert equalizer to the audio produced.
Anybody has experienced in doing this?
回答1:
There is no way to play MPMediaItem and adding sound equalizer with AVPlayer. We have to use Audio Unit processing.
回答2:
I have done this leveraging a class provided in the Apple Samples:
http://developer.apple.com/library/ios/#samplecode/avTouch/Listings/Classes_CALevelMeter_h.html
Hope this helps.
来源:https://stackoverflow.com/questions/7485654/how-to-add-ipod-eq-when-playing-audio-with-avplayer