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 = ""; |