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

Side by Side Diff: ppapi/thunk/ppb_media_stream_audio_track_api.h

Issue 156863005: [PPAPI][MediaStream] Rename AudioFrame to AudioBuffer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@frame_to_buffer
Patch Set: Update Created 6 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 unified diff | Download patch
« no previous file with comments | « ppapi/thunk/ppb_audio_frame_thunk.cc ('k') | ppapi/thunk/ppb_media_stream_audio_track_thunk.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_THUNK_PPB_MEDIA_STREAM_AUDIO_TRACK_API_H_ 5 #ifndef PPAPI_THUNK_PPB_MEDIA_STREAM_AUDIO_TRACK_API_H_
6 #define PPAPI_THUNK_PPB_MEDIA_STREAM_AUDIO_TRACK_API_H_ 6 #define PPAPI_THUNK_PPB_MEDIA_STREAM_AUDIO_TRACK_API_H_
7 7
8 #include "ppapi/c/ppb_media_stream_audio_track.h" 8 #include "ppapi/c/ppb_media_stream_audio_track.h"
9 9
10 namespace ppapi { 10 namespace ppapi {
11 namespace thunk { 11 namespace thunk {
12 12
13 class PPAPI_THUNK_EXPORT PPB_MediaStreamAudioTrack_API { 13 class PPAPI_THUNK_EXPORT PPB_MediaStreamAudioTrack_API {
14 public: 14 public:
15 virtual ~PPB_MediaStreamAudioTrack_API() {} 15 virtual ~PPB_MediaStreamAudioTrack_API() {}
16 virtual PP_Var GetId() = 0; 16 virtual PP_Var GetId() = 0;
17 virtual PP_Bool HasEnded() = 0; 17 virtual PP_Bool HasEnded() = 0;
18 virtual int32_t Configure(const int32_t attrib_list[], 18 virtual int32_t Configure(const int32_t attrib_list[],
19 scoped_refptr<ppapi::TrackedCallback> callback) = 0; 19 scoped_refptr<ppapi::TrackedCallback> callback) = 0;
20 virtual int32_t GetAttrib(PP_MediaStreamAudioTrack_Attrib attrib, 20 virtual int32_t GetAttrib(PP_MediaStreamAudioTrack_Attrib attrib,
21 int32_t* value) = 0; 21 int32_t* value) = 0;
22 virtual int32_t GetFrame(PP_Resource* frame, 22 virtual int32_t GetBuffer(PP_Resource* buffer,
23 scoped_refptr<ppapi::TrackedCallback> callback) = 0; 23 scoped_refptr<ppapi::TrackedCallback> callback) = 0;
24 virtual int32_t RecycleFrame(PP_Resource frame) = 0; 24 virtual int32_t RecycleBuffer(PP_Resource buffer) = 0;
25 virtual void Close() = 0; 25 virtual void Close() = 0;
26 }; 26 };
27 27
28 } // namespace thunk 28 } // namespace thunk
29 } // namespace ppapi 29 } // namespace ppapi
30 30
31 #endif // PPAPI_THUNK_PPB_MEDIA_STREAM_AUDIO_TRACK_API_H_ 31 #endif // PPAPI_THUNK_PPB_MEDIA_STREAM_AUDIO_TRACK_API_H_
OLDNEW
« no previous file with comments | « ppapi/thunk/ppb_audio_frame_thunk.cc ('k') | ppapi/thunk/ppb_media_stream_audio_track_thunk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698