Fix sampling rate in java implementation on android
Because of built-in EC, we have to fix sampling rate to 16000 on android. In future, it should be done through voice engine apis. BUG=None TEST=local Review URL: https://webrtc-codereview.appspot.com/828004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@2801 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
1a26588863
commit
6705b1fe82
@ -130,8 +130,8 @@ AudioDeviceAndroidJni::AudioDeviceAndroidJni(const WebRtc_Word32 id) :
|
||||
_playError(0), _recWarning(0), _recError(0), _delayPlayout(0),
|
||||
_delayRecording(0),
|
||||
_AGC(false),
|
||||
_samplingFreqIn(0),
|
||||
_samplingFreqOut(0),
|
||||
_samplingFreqIn((N_REC_SAMPLES_PER_SEC/1000)),
|
||||
_samplingFreqOut((N_PLAY_SAMPLES_PER_SEC/1000)),
|
||||
_maxSpeakerVolume(0),
|
||||
_loudSpeakerOn(false),
|
||||
_recAudioSource(1), // 1 is AudioSource.MIC which is our default
|
||||
|
Loading…
x
Reference in New Issue
Block a user