Chromium Code Reviews| Index: ppapi/proxy/audio_input_resource.h |
| diff --git a/ppapi/proxy/audio_input_resource.h b/ppapi/proxy/audio_input_resource.h |
| index e4d0e73cb7b3e8f73a7920fa9ae043eb4e8a6804..0184260c359ed9d1cfb5ff3061240ba2bedf8c42 100644 |
| --- a/ppapi/proxy/audio_input_resource.h |
| +++ b/ppapi/proxy/audio_input_resource.h |
| @@ -17,6 +17,10 @@ |
| #include "ppapi/shared_impl/scoped_pp_resource.h" |
| #include "ppapi/thunk/ppb_audio_input_api.h" |
| +namespace media { |
| +class AudioBus; |
| +} |
| + |
| namespace ppapi { |
| namespace proxy { |
| @@ -133,6 +137,14 @@ class AudioInputResource : public PluginResource, |
| // latency. |
| size_t bytes_per_second_; |
| + // AudioBus for shuttling data across the shared memory. |
| + scoped_ptr<media::AudioBus> audio_bus_; |
|
no longer working on chromium
2014/07/08 15:33:48
change the name to audio_wrapper_, and update the
henrika (OOO until Aug 14)
2014/07/09 09:39:51
I would like to keep this notation to match the co
|
| + int sample_frame_count_; |
| + |
| + // Internal buffer for client's integer audio data. |
| + int client_buffer_size_bytes_; |
| + scoped_ptr<uint8_t[]> client_buffer_; |
| + |
| DISALLOW_COPY_AND_ASSIGN(AudioInputResource); |
| }; |