I have tried everything to increase the microphone volume of the voice call in android studio but I still can't do it. I managed to do something close in engineer mode but I want to implement something like it in my app. I have tried using AudioManager which I saw no difference when I tried.
AudioManager am = (AudioManager) getSystemService(Context.AUDIO_SERVICE);
am.setStreamVolume(
AudioManager.STREAM_MUSIC,
am.getStreamMaxVolume(AudioManager.STREAM_MUSIC),
0);