Index: webrtc/modules/audio_processing/vad/standalone_vad_unittest.cc |
diff --git a/webrtc/modules/audio_processing/agc/standalone_vad_unittest.cc b/webrtc/modules/audio_processing/vad/standalone_vad_unittest.cc |
similarity index 94% |
rename from webrtc/modules/audio_processing/agc/standalone_vad_unittest.cc |
rename to webrtc/modules/audio_processing/vad/standalone_vad_unittest.cc |
index 3887828ed83269de253d1a91ecbbc1710f0e9704..202438cc6801e2d882f84a80d55f847bddbc5086 100644 |
--- a/webrtc/modules/audio_processing/agc/standalone_vad_unittest.cc |
+++ b/webrtc/modules/audio_processing/vad/standalone_vad_unittest.cc |
@@ -8,11 +8,11 @@ |
* be found in the AUTHORS file in the root of the source tree. |
*/ |
-#include "webrtc/modules/audio_processing/agc/standalone_vad.h" |
+#include "webrtc/modules/audio_processing/vad/standalone_vad.h" |
#include <string.h> |
-#include "gtest/gtest.h" |
+#include "testing/gtest/include/gtest/gtest.h" |
#include "webrtc/base/scoped_ptr.h" |
#include "webrtc/modules/interface/module_common_types.h" |
#include "webrtc/test/testsupport/fileutils.h" |
@@ -21,7 +21,7 @@ namespace webrtc { |
TEST(StandaloneVadTest, Api) { |
rtc::scoped_ptr<StandaloneVad> vad(StandaloneVad::Create()); |
- int16_t data[kLength10Ms] = { 0 }; |
+ int16_t data[kLength10Ms] = {0}; |
// Valid frame length (for 32 kHz rate), but not what the VAD is expecting. |
EXPECT_EQ(-1, vad->AddAudio(data, 320)); |
@@ -57,7 +57,7 @@ TEST(StandaloneVadTest, Api) { |
TEST(StandaloneVadTest, ActivityDetection) { |
rtc::scoped_ptr<StandaloneVad> vad(StandaloneVad::Create()); |
const size_t kDataLength = kLength10Ms; |
- int16_t data[kDataLength] = { 0 }; |
+ int16_t data[kDataLength] = {0}; |
FILE* pcm_file = |
fopen(test::ResourcePath("audio_processing/agc/agc_audio", "pcm").c_str(), |
@@ -100,4 +100,4 @@ TEST(StandaloneVadTest, ActivityDetection) { |
fclose(reference_file); |
fclose(pcm_file); |
} |
-} |
+} // namespace webrtc |