audio_processing: Create now returns a pointer to the object
Affects * NS * AGC * AEC BUG=441 TESTED=locally on Linux and trybots R=kwiberg@webrtc.org Review URL: https://codereview.webrtc.org/1175903002. Cr-Commit-Position: refs/heads/master@{#9411}
This commit is contained in:
@ -9,6 +9,7 @@
|
||||
*/
|
||||
|
||||
#include "testing/gtest/include/gtest/gtest.h"
|
||||
#include "webrtc/base/checks.h"
|
||||
extern "C" {
|
||||
#include "webrtc/modules/audio_processing/aec/aec_core.h"
|
||||
}
|
||||
@ -67,7 +68,8 @@ SystemDelayTest::SystemDelayTest()
|
||||
}
|
||||
|
||||
void SystemDelayTest::SetUp() {
|
||||
ASSERT_EQ(0, WebRtcAec_Create(&handle_));
|
||||
handle_ = WebRtcAec_Create();
|
||||
ASSERT_TRUE(handle_);
|
||||
self_ = reinterpret_cast<Aec*>(handle_);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user