How to add iPod EQ when playing audio with AVPlayer?

后端 未结 2 1813
夕颜
夕颜 2021-02-15 13:37

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

相关标签:
2条回答
  • 2021-02-15 13:49

    There is no way to play MPMediaItem and adding sound equalizer with AVPlayer. We have to use Audio Unit processing.

    0 讨论(0)
  • 2021-02-15 14:03

    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.

    0 讨论(0)
提交回复
热议问题