Good day! In the work task, there was a need to implement a noise suppressor when working with a user's record. The problem is that despite the fact that everything was implemented according to the instructions from developer.android (https://developer.android.com/reference/android/media/audiofx/NoiseSuppressor) - it feels like NS just does not work . What could be the problem?
When implementing NS, we accordingly hung up a check for the availability of NS (NoiseSupressor.isAvailable() ) and, if available, we bind NS to the audio session number (create(int audioSession)). In the same "if" when binding to the session number, I added to the variable (conditionally supressor) .enabled = true (as it applies to AudioEffectsyour text) - but, when testing, there is no difference between the default recording and using NS.