C0dR
C0dR

Reputation: 330

Android MediaRecorder set audio volume

I'm not that familiar with android programming and would like to set the audio volume while (or before) recording a video with MediaRecorder. Is there a way to do that? Or is there a better way to record a video with variable audio volume, instead of using MediaRecorder?

Upvotes: 3

Views: 4391

Answers (1)

stinepike
stinepike

Reputation: 54682

There is no way to set volume while recording using MediaRecorder. But you can set volume while playing using MediaPlayer by using the method setVolume(float, float)

Upvotes: 1

Related Questions