public class VoiceVolume
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
VOLUME_LEVEL |
| Constructor and Description |
|---|
VoiceVolume() |
| Modifier and Type | Method and Description |
|---|---|
int |
getNormalizeVolume(int volume)
Get normalize audio volume level.
|
int |
getVoiceVolume(byte[] data)
Get audio volume from audio buffer.
|
public static final int VOLUME_LEVEL
public int getVoiceVolume(byte[] data)
data - - Audio buffer.public int getNormalizeVolume(int volume)
volume - - Volume.