Why voice processing enabled on AVAudioInputNode makes output audio noticable lower than without it and how to overcome it using voice processing enabled
One additional behavior to be aware of: when voice processing is enabled, it will duck other audio that is not part of the voice processing output. For example, if your app has a secondary audio output stream alongside the voice processing stream, or if another app is playing audio concurrently, its volume will be significantly reduced. This is intentional behavior designed to improve the intelligibility of the voice processing output.
There is API available to control the amount of ducking applied. https://developer.apple.com/documentation/avfaudio/avaudioinputnode/voiceprocessingotheraudioduckingconfiguration