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

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

Issue 9805001: 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/linux/alsa_output.h ('k') | media/audio/linux/alsa_output_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/linux/alsa_output.cc
diff --git a/media/audio/linux/alsa_output.cc b/media/audio/linux/alsa_output.cc
index fc741804978188ae9b770c51839d136ca67410c0..d940be9e7b1863f34c020207c2f7f803c1a68cd6 100644
--- a/media/audio/linux/alsa_output.cc
+++ b/media/audio/linux/alsa_output.cc
@@ -49,6 +49,8 @@
#include "media/base/data_buffer.h"
#include "media/base/seekable_buffer.h"
+namespace media {
+
// Amount of time to wait if we've exhausted the data source. This is to avoid
// busy looping.
static const uint32 kNoDataSleepMilliseconds = 10;
@@ -797,3 +799,5 @@ void AlsaPcmOutputStream::set_source_callback(AudioSourceCallback* callback) {
DCHECK(IsOnAudioThread());
source_callback_ = callback;
}
+
+} // namespace media
« no previous file with comments | « media/audio/linux/alsa_output.h ('k') | media/audio/linux/alsa_output_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698