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

Unified Diff: chrome/renderer/media/audio_renderer_impl.h

Issue 20410: Audio related IPC messages and handlers from browser to renderer (Closed)
Patch Set: cleanup Created 11 years, 10 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 | « chrome/renderer/DEPS ('k') | chrome/renderer/media/audio_renderer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/media/audio_renderer_impl.h
diff --git a/chrome/renderer/media/audio_renderer_impl.h b/chrome/renderer/media/audio_renderer_impl.h
index e76bf641d1bbf530c841f27ba1e8d59ac46df861..9d6b0b445ebaf8125a75fa875e53c87df1386c48 100644
--- a/chrome/renderer/media/audio_renderer_impl.h
+++ b/chrome/renderer/media/audio_renderer_impl.h
@@ -5,6 +5,8 @@
#ifndef CHROME_RENDERER_MEDIA_AUDIO_RENDERER_IMPL_H_
#define CHROME_RENDERER_MEDIA_AUDIO_RENDERER_IMPL_H_
+#include "base/shared_memory.h"
+#include "media/audio/audio_output.h"
#include "media/base/factory.h"
#include "media/base/filters.h"
@@ -31,6 +33,11 @@ class AudioRendererImpl : public media::AudioRenderer {
// Answers question from the factory to see if we accept |format|.
static bool IsMediaFormatSupported(const media::MediaFormat* format);
+ void OnRequestPacket();
+ void OnStateChanged(AudioOutputStream::State state, int info);
+ void OnCreated(base::SharedMemoryHandle handle, size_t length);
+ void OnVolume(double left, double right);
+
protected:
virtual ~AudioRendererImpl();
« no previous file with comments | « chrome/renderer/DEPS ('k') | chrome/renderer/media/audio_renderer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698