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

Unified Diff: content/renderer/media/audio_device.h

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 | « content/common/media/audio_param_traits.cc ('k') | content/renderer/media/audio_device.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/audio_device.h
diff --git a/content/renderer/media/audio_device.h b/content/renderer/media/audio_device.h
index 4cdb94642916ad85499ebb9d41b7cde3a5fd0c4d..9410ce71f1055f715671bca52ec16555cacd964d 100644
--- a/content/renderer/media/audio_device.h
+++ b/content/renderer/media/audio_device.h
@@ -76,6 +76,10 @@
#include "media/audio/audio_parameters.h"
#include "media/base/audio_renderer_sink.h"
+namespace media {
+class AudioParameters;
+}
+
class CONTENT_EXPORT AudioDevice
: NON_EXPORTED_BASE(public media::AudioRendererSink),
public AudioMessageFilter::Delegate,
@@ -86,11 +90,11 @@ class CONTENT_EXPORT AudioDevice
// Minimal constructor where Initialize() must be called later.
AudioDevice();
- AudioDevice(const AudioParameters& params, RenderCallback* callback);
+ AudioDevice(const media::AudioParameters& params, RenderCallback* callback);
// AudioRendererSink implementation.
- virtual void Initialize(const AudioParameters& params,
+ virtual void Initialize(const media::AudioParameters& params,
RenderCallback* callback) OVERRIDE;
// Starts audio playback.
virtual void Start() OVERRIDE;
@@ -132,7 +136,7 @@ class CONTENT_EXPORT AudioDevice
// The following methods are tasks posted on the IO thread that needs to
// be executed on that thread. They interact with AudioMessageFilter and
// sends IPC messages on that thread.
- void InitializeOnIOThread(const AudioParameters& params);
+ void InitializeOnIOThread(const media::AudioParameters& params);
void PlayOnIOThread();
void PauseOnIOThread(bool flush);
void ShutDownOnIOThread();
@@ -144,7 +148,7 @@ class CONTENT_EXPORT AudioDevice
// If the IO loop dies before we do, we shut down the audio thread from here.
virtual void WillDestroyCurrentMessageLoop() OVERRIDE;
- AudioParameters audio_parameters_;
+ media::AudioParameters audio_parameters_;
RenderCallback* callback_;
« no previous file with comments | « content/common/media/audio_param_traits.cc ('k') | content/renderer/media/audio_device.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698