Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(783)

Unified Diff: media/audio/audio_low_latency_input_output_unittest.cc

Issue 9965076: Revert 130180 - Move media/audio files into media namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/audio/audio_io.h ('k') | media/audio/audio_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « media/audio/audio_io.h ('k') | media/audio/audio_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698