Fmod sound failed to resume after using ios voice input


#1

Hi, our UE4 game using fmod to play sound. We found our game background music would stop when user start to use system voice input in virtual keyboard, and the music can’t resume after the input finished. But if we use UE4 sound api, there is no problem about resuming. So I think it’s a fmod related problem.

After sound pause, if I call MixerResume,the sound would resume. But I don’t think it’s a good way to solve this problem, because it not us to pause the sound manually.


#2

It looks like it may have something to do with the AVAudioSession category:
https://developer.apple.com/library/archive/documentation/Audio/Conceptual/AudioSessionProgrammingGuide/AudioSessionBasics/AudioSessionBasics.html