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

Unified Diff: media/audio/linux/alsa_input.cc

Issue 6628020: Cleaning up src/media to be consistent with static versus anonymous namespaces. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src
Patch Set: fix namespaces Created 9 years, 10 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
Index: media/audio/linux/alsa_input.cc
diff --git a/media/audio/linux/alsa_input.cc b/media/audio/linux/alsa_input.cc
index afc37d6ef14b4808e62d067fb0ad9d89c289ee38..02b6fd33db60fe40ad8e9dbc49641283eccf1ea3 100644
--- a/media/audio/linux/alsa_input.cc
+++ b/media/audio/linux/alsa_input.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -11,17 +11,13 @@
#include "media/audio/linux/alsa_util.h"
#include "media/audio/linux/alsa_wrapper.h"
-namespace {
-
-const int kNumPacketsInRingBuffer = 3;
+static const int kNumPacketsInRingBuffer = 3;
// If a read failed with no audio data, try again after this duration.
-const int kNoAudioReadAgainTimeoutMs = 20;
-
-const char kDefaultDevice1[] = "default";
-const char kDefaultDevice2[] = "plug:default";
+static const int kNoAudioReadAgainTimeoutMs = 20;
-} // namespace
+static const char kDefaultDevice1[] = "default";
+static const char kDefaultDevice2[] = "plug:default";
const char* AlsaPcmInputStream::kAutoSelectDevice = "";

Powered by Google App Engine
This is Rietveld 408576698