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

Side by Side Diff: ppapi/tests/test_media_stream_audio_track.h

Issue 488533002: Add a test to verify the waveform from the Pepper MediaStream API is as (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mediastream-samples-fix
Patch Set: Rebase. Created 6 years, 2 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 unified diff | Download patch
« no previous file with comments | « no previous file | ppapi/tests/test_media_stream_audio_track.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef PPAPI_TESTS_TEST_MEDIA_STREAM_AUDIO_TRACK_H_ 5 #ifndef PPAPI_TESTS_TEST_MEDIA_STREAM_AUDIO_TRACK_H_
6 #define PPAPI_TESTS_TEST_MEDIA_STREAM_AUDIO_TRACK_H_ 6 #define PPAPI_TESTS_TEST_MEDIA_STREAM_AUDIO_TRACK_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "ppapi/cpp/media_stream_audio_track.h" 10 #include "ppapi/cpp/media_stream_audio_track.h"
(...skipping 14 matching lines...) Expand all
25 virtual void HandleMessage(const pp::Var& message_data); 25 virtual void HandleMessage(const pp::Var& message_data);
26 26
27 // Test helpers. 27 // Test helpers.
28 std::string CheckConfigure(int32_t attrib_list[], int32_t expected_result); 28 std::string CheckConfigure(int32_t attrib_list[], int32_t expected_result);
29 std::string CheckGetBuffer(int times, int expected_duration); 29 std::string CheckGetBuffer(int times, int expected_duration);
30 30
31 std::string TestCreate(); 31 std::string TestCreate();
32 std::string TestGetBuffer(); 32 std::string TestGetBuffer();
33 std::string TestConfigure(); 33 std::string TestConfigure();
34 std::string TestConfigureClose(); 34 std::string TestConfigureClose();
35 std::string TestVerifyWaveform();
35 36
36 pp::MediaStreamAudioTrack audio_track_; 37 pp::MediaStreamAudioTrack audio_track_;
37 38
38 NestedEvent event_; 39 NestedEvent event_;
39 }; 40 };
40 41
41 #endif // PPAPI_TESTS_TEST_MEDIA_STREAM_AUDIO_TRACK_H_ 42 #endif // PPAPI_TESTS_TEST_MEDIA_STREAM_AUDIO_TRACK_H_
OLDNEW
« no previous file with comments | « no previous file | ppapi/tests/test_media_stream_audio_track.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698