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

Unified Diff: ppapi/tests/test_media_stream_audio_track.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/tests/test_media_stream_audio_track.h
diff --git a/ppapi/tests/test_media_stream_audio_track.h b/ppapi/tests/test_media_stream_audio_track.h
index b91fd26e7d2e4c3b2cbe3d426d0d20bd44177882..88148e8b3ce69d5185a524c176d5c7a5352a5d8d 100644
--- a/ppapi/tests/test_media_stream_audio_track.h
+++ b/ppapi/tests/test_media_stream_audio_track.h
@@ -24,6 +24,10 @@ class TestMediaStreamAudioTrack : public TestCase {
// Overrides.
virtual void HandleMessage(const pp::Var& message_data);
+ // Test helpers.
+ std::string CheckConfigure(int32_t attrib_list[], int32_t expected_result);
+ std::string CheckGetBuffer(int times, int expected_duration);
+
std::string TestCreate();
std::string TestGetBuffer();
std::string TestConfigure();

Powered by Google App Engine
This is Rietveld 408576698