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

Unified Diff: ppapi/shared_impl/media_stream_audio_track_shared.h

Issue 414643003: Support configuring the audio buffer duration in the Pepper MediaStream API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add clarifying comment about buffer size. Created 6 years, 5 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: ppapi/shared_impl/media_stream_audio_track_shared.h
diff --git a/ppapi/shared_impl/media_stream_audio_track_shared.h b/ppapi/shared_impl/media_stream_audio_track_shared.h
index 0a2ecea69dbfa70cf1488dd460134bd70484cd6c..8d9cbe5d84e41cee53a893da1d3b56eef479f434 100644
--- a/ppapi/shared_impl/media_stream_audio_track_shared.h
+++ b/ppapi/shared_impl/media_stream_audio_track_shared.h
@@ -13,8 +13,9 @@ namespace ppapi {
class PPAPI_SHARED_EXPORT MediaStreamAudioTrackShared {
public:
struct Attributes {
- Attributes() : buffers(0) {}
+ Attributes() : buffers(0), duration(0) {}
int32_t buffers;
+ int32_t duration;
};
static bool VerifyAttributes(const Attributes& attributes);

Powered by Google App Engine
This is Rietveld 408576698