Chromium Code Reviews| Index: content/browser/renderer_host/media/audio_input_sync_writer.h |
| diff --git a/content/browser/renderer_host/media/audio_input_sync_writer.h b/content/browser/renderer_host/media/audio_input_sync_writer.h |
| index 1ace401441faec0bff55226b875064876ae94216..cc6c0f248e5e7568681b19ca35a4eb51bc4fdb89 100644 |
| --- a/content/browser/renderer_host/media/audio_input_sync_writer.h |
| +++ b/content/browser/renderer_host/media/audio_input_sync_writer.h |
| @@ -35,10 +35,10 @@ class AudioInputSyncWriter : public media::AudioInputController::SyncWriter { |
| ~AudioInputSyncWriter() override; |
| // media::AudioInputController::SyncWriter implementation. |
| - void UpdateRecordedBytes(uint32 bytes) override; |
| void Write(const media::AudioBus* data, |
| double volume, |
| - bool key_pressed) override; |
| + bool key_pressed, |
| + uint32 hardware_delay_bytes) override; |
|
tommi (sloooow) - chröme
2015/08/14 09:56:21
good to have this provided now with the data
Henrik Grunell
2015/08/14 12:38:32
Acknowledged.
|
| void Close() override; |
| bool Init(); |
| @@ -67,6 +67,9 @@ class AudioInputSyncWriter : public media::AudioInputController::SyncWriter { |
| // Size in bytes of each audio bus. |
| const int audio_bus_memory_size_; |
| + // Increasing ID used for audio buffers correct sequence at read side. |
| + uint32_t next_buffer_id_; |
| + |
| // Vector of audio buses allocated during construction and deleted in the |
| // destructor. |
| ScopedVector<media::AudioBus> audio_buses_; |