Play multiple Audio Files with AVPlayer

前端 未结 4 1487
深忆病人
深忆病人 2020-12-17 15:23

I\'m trying to play multiple sounds at the same time.

The approach initially I\'ve taken was to create several players , but it seems wrong one.

What\'s the

4条回答
  •  误落风尘
    2020-12-17 15:41

    Well, my solution comes out of experience. I can quickly cook up a project if needed. But also, it requires the use of an MoMu API at Stanford. It involves creating WvIn and WvOut objects for reading the files. The audio samples of these objects simply need to be fed to the output buffer to play the files simultaneously. Although the API uses AVFoundation, there is no explicit use of AVFoundation in this project.

提交回复
热议问题