AVAudioPlayer volume inconsistencies
Learn how to resolve volume inconsistencies with AVAudioPlayer.
読み終わるまでの所要時間 1 分最終更新 23日前
If your app uses AVAudioPlayer, you must call prepareToPlay() before the Vivox SDK uses the microphone. If prepareToPlay() is called while the Vivox SDK is using the microphone, the audio for that instance of the AVAudioPlayer will be at a lower volume. For more information, refer to the Apple developer documentation on prepareToPlay(). This behavior can also occur when recovering from an audio interruption. For a workaround, see Restore audio volume.