Init to 16 kHz in the fixed-point profile.
Fixes modules_unittests for fixed-point builds (Android). TBR=bjornv Review URL: https://webrtc-codereview.appspot.com/6709004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@5349 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
b6541ca3a1
commit
d335094852
@ -269,7 +269,11 @@ void ApmTest::SetUp() {
|
|||||||
frame_ = new AudioFrame();
|
frame_ = new AudioFrame();
|
||||||
revframe_ = new AudioFrame();
|
revframe_ = new AudioFrame();
|
||||||
|
|
||||||
|
#if defined(WEBRTC_AUDIOPROC_FIXED_PROFILE)
|
||||||
|
Init(16000, 2, 2, 2, false);
|
||||||
|
#else
|
||||||
Init(32000, 2, 2, 2, false);
|
Init(32000, 2, 2, 2, false);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void ApmTest::TearDown() {
|
void ApmTest::TearDown() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user