Question

I will describe briefly my trouble with audio recording.

So, I am doing audio recording using MediaRecorder, but unfortunately when I playback the recorded audio, I have media with a very low volume. I hardly hear anything.

Is there any possibility to setup recording volume?

Thanks.

Was it helpful?

Solution

There is no way to do this while recording - but while playing, you can use the setVolume(float, float) method on MediaPlayer.

OTHER TIPS

I experienced this issue on the Nexus One while using Froyo when the AudioManager was set to MODE_IN_CALL. Try setting it to MODE_NORMAL. This fixed the problem for me.

AudioManager audioManager = (AudioManager)activity.getSystemService(Context.AUDIO_SERVICE);
audioManager.setMode(AudioManager.MODE_NORMAL);
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top