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

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

Issue 10537121: Adds AudioDevice factory for all audio clients in Chrome (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Changes based on review by Chris Created 8 years, 6 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/renderer/media/audio_device.h
diff --git a/content/renderer/media/audio_device.h b/content/renderer/media/audio_device.h
index 74b28d33d8558d2a8ed97f03f7ff0d5ecc6a23d3..5e3519da74ffcdd5518549979789da702e6f3f82 100644
--- a/content/renderer/media/audio_device.h
+++ b/content/renderer/media/audio_device.h
@@ -76,6 +76,8 @@
#include "media/audio/audio_parameters.h"
#include "media/base/audio_renderer_sink.h"
+class AudioMessageFilter;
Chris Rogers 2012/06/26 19:05:15 It seems like you can probably just revert all the
henrika (OOO until Aug 14) 2012/06/26 20:28:51 To me the existing change still makes sense. It fe
scherkus (not reviewing) 2012/06/26 23:34:30 If no one is using the 2-arg AD() ctor I don't see
scherkus (not reviewing) 2012/06/26 23:34:30 nit: this fwd decl can be removed as we #include a
henrika (OOO until Aug 14) 2012/06/27 08:23:16 Done.
henrika (OOO until Aug 14) 2012/06/27 08:23:16 Done.
henrika (OOO until Aug 14) 2012/06/27 08:23:16 Done.
+
namespace media {
class AudioParameters;
}
@@ -87,11 +89,9 @@ class CONTENT_EXPORT AudioDevice
public:
// Methods called on main render thread -------------------------------------
- // Minimal constructor where Initialize() must be called later.
+ // Minimal constructors where Initialize() must be called later.
scherkus (not reviewing) 2012/06/26 23:34:30 If we're going w/ the single ctor then I'd rephras
henrika (OOO until Aug 14) 2012/06/27 08:23:16 Thanks. We can add a 2nd ctor at a later stage ins
AudioDevice();
- AudioDevice(const media::AudioParameters& params, RenderCallback* callback);
-
// AudioRendererSink implementation.
virtual void Initialize(const media::AudioParameters& params,
RenderCallback* callback) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698