Index: media/audio/audio_low_latency_input_output_unittest.cc |
=================================================================== |
--- media/audio/audio_low_latency_input_output_unittest.cc (revision 130181) |
+++ media/audio/audio_low_latency_input_output_unittest.cc (working copy) |
@@ -29,10 +29,6 @@ |
#include "testing/gmock/include/gmock/gmock.h" |
#include "testing/gtest/include/gtest/gtest.h" |
-using base::win::ScopedCOMInitializer; |
- |
-namespace media { |
- |
#if defined(OS_LINUX) || defined(OS_OPENBSD) |
typedef AudioManagerLinux AudioManagerAnyPlatform; |
#elif defined(OS_MACOSX) |
@@ -43,6 +39,9 @@ |
typedef AudioManagerAndroid AudioManagerAnyPlatform; |
#endif |
+using base::win::ScopedCOMInitializer; |
+ |
+namespace { |
// Limits the number of delay measurements we can store in an array and |
// then write to file at end of the WASAPIAudioInputOutputFullDuplex test. |
static const size_t kMaxDelayMeasurements = 1000; |
@@ -123,6 +122,8 @@ |
DISALLOW_COPY_AND_ASSIGN(AudioLowLatencyInputOutputTest); |
}; |
+} // namespace |
+ |
// This audio source/sink implementation should be used for manual tests |
// only since delay measurements are stored on an output text file. |
// All incoming/recorded audio packets are stored in an intermediate media |
@@ -462,5 +463,3 @@ |
aos->Close(); |
ais->Close(); |
} |
- |
-} // namespace media |