Question

I am having a similar problem described in this link:

RecorderObject in OpenSL does not implement the interface to set the volume or configure on Android

The problem being that I can't set the volume on the recorder because getting the volume interface for the recorder is not supported by OpenSL ES in Android. This is not an issue with most phones but some phones (such as the Samsung Note 2) the audio that gets captured distorts heavily if you speak into the microphone too loudly.

Is there any work around for adjusting the volume of the captured audio in OpenSL ES?

Was it helpful?

Solution

I am struggling with a similar problem. I think the only way to do this is to increase the PCM recording volume by multiplying samples by some multiplier.

You can take a look at this link for further information.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top