I ecountered a problem, can i change the audioCategory in real time? because i found that when I trigger System::recordStart function, then my game’s audiocategory likely be set to FMOD_IPHONE_SESSIONCATEGORY_PLAYANDRECORD internally, which i have set to FMOD_IPHONE_SESSIONCATEGORY_AMBIENTSOUND when FMODSystem::init();
the problem is when I call System::RecordStop(id), system internal not set it back to FMOD_IPHONE_SESSIONCATEGORY_AMBIENTSOUND for me!!! so please somebody who have idea to solve it can provide some advice.
by the way, why i want to keep the FMOD_IPHONE_SESSIONCATEGORY_AMBIENTSOUND setting, because when game running in this mode, the game won’t be stuck a period when coming to froreground. so we strongly require this category not be change after recording!