Lyubomyr Dutko
Lyubomyr Dutko

Reputation: 4526

Android. How to Do Audio Recording with High Volume?

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.

Upvotes: 7

Views: 6729

Answers (2)

Aaron C
Aaron C

Reputation: 3313

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);

Upvotes: 2

Isaac Waller
Isaac Waller

Reputation: 32730

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

Upvotes: 0

Related Questions