MeiCam SDK For Android
3.13.5
|
Audio tone processor. More...
Public Member Functions | |
NvsAudioToneProcessor (int toneMode) | |
void | release () |
Resource releas. More... | |
void | processAudioSample (NvsAudioSampleBuffers ioAudioSample) |
This function implements tone processing for input audio sapmles. More... | |
void | clearRemainSamples () |
Clear remain audio samples in the current processor. More... | |
void | setCustomToneModeParam (float tempoDelta, float pitchDelta, float rateDelta, boolean speech) |
This method is used to set custom parameters when the tone mode is in custom. More... | |
Static Public Attributes | |
static final int | AUDIO_TONE_MODE_MALE = 0 |
static final int | AUDIO_TONE_MODE_FEMALE = 1 |
static final int | AUDIO_TONE_MODE_CARTOON = 2 |
static final int | AUDIO_TONE_MODE_FASTCARTOON = 3 |
static final int | AUDIO_TONE_MODE_MONSTER = 4 |
static final int | AUDIO_TONE_MODE_CUSTOM = 5 |
static final int | AUDIO_TONE_MODE_ECHO = 6 |
static final int | AUDIO_TONE_MODE_WAHWAH = 7 |
static final int | AUDIO_TONE_MODE_REVERB = 8 |
Protected Member Functions | |
void | finalize () throws Throwable |
Audio tone processor.
Used to adjust the tone of input audio samples.
|
inline |
|
inline |
Clear remain audio samples in the current processor.
|
inlineprotected |
|
inline |
This function implements tone processing for input audio sapmles.
The processed audio sample will be returned through ioAudioSample, If there are no audio samples returned in this call, the audio samples in ioAudioSample will be set to zero.
|
inline |
Resource releas.
|
inline |
This method is used to set custom parameters when the tone mode is in custom.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |