iPhone (SDK 2.2): adusting playback volume while NOT actively playing music w/ AVFoundation?

后端 未结 4 680
盖世英雄少女心
盖世英雄少女心 2021-02-04 21:06

So I have an app which plays many short sound clips. I need to know when the sounds are finished playing, and I need to use mp3s, so I\'m using AVFoundation for the sound playb

4条回答
  •  逝去的感伤
    2021-02-04 21:37

    so you want to disable ringer playback volume as long as the app is running? therefore the hardware controls will only adjust the app playback sounds?

    i dont think this is possible unless you are "always playing sound" for example, many games are always playing background music or what have you.

提交回复
热议问题