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

Unified Diff: ppapi/proxy/media_stream_audio_track_resource.h

Issue 290993005: Support configuring number of audio buffers in MediaStream Pepper API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix uninitialized variable Created 6 years, 7 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 | « ppapi/ppapi_tests.gypi ('k') | ppapi/proxy/media_stream_audio_track_resource.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/media_stream_audio_track_resource.h
diff --git a/ppapi/proxy/media_stream_audio_track_resource.h b/ppapi/proxy/media_stream_audio_track_resource.h
index 694ae227a1093eb432df5b7f5792d5ed5e2701ca..6cc5d436f50a848ed3db6281ea5f243a7fce40e1 100644
--- a/ppapi/proxy/media_stream_audio_track_resource.h
+++ b/ppapi/proxy/media_stream_audio_track_resource.h
@@ -6,6 +6,7 @@
#define PPAPI_PROXY_MEDIA_STREAM_AUDIO_TRACK_RESOURCE_H_
#include <map>
+#include <string>
#include "base/memory/ref_counted.h"
#include "ppapi/proxy/media_stream_track_resource_base.h"
@@ -53,12 +54,17 @@ class PPAPI_PROXY_EXPORT MediaStreamAudioTrackResource
void ReleaseBuffers();
+ // IPC message handlers.
+ void OnPluginMsgConfigureReply(const ResourceMessageReplyParams& params);
+
// Allocated buffer resources by |GetBuffer()|.
typedef std::map<PP_Resource, scoped_refptr<AudioBufferResource> > BufferMap;
BufferMap buffers_;
PP_Resource* get_buffer_output_;
+ scoped_refptr<TrackedCallback> configure_callback_;
+
scoped_refptr<TrackedCallback> get_buffer_callback_;
DISALLOW_COPY_AND_ASSIGN(MediaStreamAudioTrackResource);
« no previous file with comments | « ppapi/ppapi_tests.gypi ('k') | ppapi/proxy/media_stream_audio_track_resource.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698