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

Unified Diff: content/browser/renderer_host/media/audio_input_sync_writer.cc

Issue 11339014: Move content\browser\renderer_host\media to content namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 2 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: content/browser/renderer_host/media/audio_input_sync_writer.cc
===================================================================
--- content/browser/renderer_host/media/audio_input_sync_writer.cc (revision 164646)
+++ content/browser/renderer_host/media/audio_input_sync_writer.cc (working copy)
@@ -9,7 +9,7 @@
#include "base/process_util.h"
#include "base/shared_memory.h"
-namespace media {
+namespace content {
AudioInputSyncWriter::AudioInputSyncWriter(base::SharedMemory* shared_memory)
: shared_memory_(shared_memory) {
@@ -24,8 +24,8 @@
uint32 AudioInputSyncWriter::Write(const void* data, uint32 size,
double volume) {
- AudioInputBuffer* buffer =
- reinterpret_cast<AudioInputBuffer*>(shared_memory_->memory());
+ media::AudioInputBuffer* buffer =
+ reinterpret_cast<media::AudioInputBuffer*>(shared_memory_->memory());
buffer->params.volume = volume;
buffer->params.size = size;
memcpy(buffer->audio, data, size);
@@ -67,4 +67,4 @@
#endif
-} // namespace media
+} // namespace content

Powered by Google App Engine
This is Rietveld 408576698