OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_AUDIO_ENCODER_API_H_ | 5 #ifndef PPAPI_THUNK_AUDIO_ENCODER_API_H_ |
6 #define PPAPI_THUNK_AUDIO_ENCODER_API_H_ | 6 #define PPAPI_THUNK_AUDIO_ENCODER_API_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include "ppapi/c/ppb_audio_encoder.h" | 10 #include "ppapi/c/ppb_audio_encoder.h" |
9 #include "ppapi/thunk/ppapi_thunk_export.h" | 11 #include "ppapi/thunk/ppapi_thunk_export.h" |
10 | 12 |
11 namespace ppapi { | 13 namespace ppapi { |
12 namespace thunk { | 14 namespace thunk { |
13 | 15 |
14 class PPAPI_THUNK_EXPORT PPB_AudioEncoder_API { | 16 class PPAPI_THUNK_EXPORT PPB_AudioEncoder_API { |
15 public: | 17 public: |
16 virtual ~PPB_AudioEncoder_API() {} | 18 virtual ~PPB_AudioEncoder_API() {} |
17 | 19 |
(...skipping 19 matching lines...) Expand all Loading... |
37 virtual void RecycleBitstreamBuffer( | 39 virtual void RecycleBitstreamBuffer( |
38 const PP_AudioBitstreamBuffer* bitstream_buffer) = 0; | 40 const PP_AudioBitstreamBuffer* bitstream_buffer) = 0; |
39 virtual void RequestBitrateChange(uint32_t bitrate) = 0; | 41 virtual void RequestBitrateChange(uint32_t bitrate) = 0; |
40 virtual void Close() = 0; | 42 virtual void Close() = 0; |
41 }; | 43 }; |
42 | 44 |
43 } // namespace thunk | 45 } // namespace thunk |
44 } // namespace ppapi | 46 } // namespace ppapi |
45 | 47 |
46 #endif // PPAPI_THUNK_AUDIO_ENCODER_API_H_ | 48 #endif // PPAPI_THUNK_AUDIO_ENCODER_API_H_ |
OLD | NEW |