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

Unified Diff: ppapi/thunk/ppb_audio_frame_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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/thunk/ppb_audio_buffer_thunk.cc ('k') | ppapi/thunk/ppb_audio_frame_thunk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/thunk/ppb_audio_frame_api.h
diff --git a/ppapi/thunk/ppb_audio_frame_api.h b/ppapi/thunk/ppb_audio_frame_api.h
deleted file mode 100644
index 6d106c631102076f25e4f05d043a8881b70a985d..0000000000000000000000000000000000000000
--- a/ppapi/thunk/ppb_audio_frame_api.h
+++ /dev/null
@@ -1,38 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef PPAPI_THUNK_PPB_AUDIO_FRAME_API_H_
-#define PPAPI_THUNK_PPB_AUDIO_FRAME_API_H_
-
-#include "ppapi/c/ppb_audio_frame.h"
-#include "ppapi/thunk/ppapi_thunk_export.h"
-
-namespace ppapi {
-
-union MediaStreamBuffer;
-
-namespace thunk {
-
-class PPAPI_THUNK_EXPORT PPB_AudioFrame_API {
- public:
- virtual ~PPB_AudioFrame_API() {}
- virtual PP_TimeDelta GetTimestamp() = 0;
- virtual void SetTimestamp(PP_TimeDelta timestamp) = 0;
- virtual PP_AudioFrame_SampleRate GetSampleRate() = 0;
- virtual PP_AudioFrame_SampleSize GetSampleSize() = 0;
- virtual uint32_t GetNumberOfChannels() = 0;
- virtual uint32_t GetNumberOfSamples() = 0;
- virtual void* GetDataBuffer() = 0;
- virtual uint32_t GetDataBufferSize() = 0;
-
- // Methods used by Pepper internal implementation only.
- virtual MediaStreamBuffer* GetBuffer() = 0;
- virtual int32_t GetBufferIndex() = 0;
- virtual void Invalidate() = 0;
-};
-
-} // namespace thunk
-} // namespace ppapi
-
-#endif // PPAPI_THUNK_PPB_AUDIO_FRAME_API_H_
« no previous file with comments | « ppapi/thunk/ppb_audio_buffer_thunk.cc ('k') | ppapi/thunk/ppb_audio_frame_thunk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698