Chromium Code Reviews| Index: media/audio/audio_input_device.cc |
| diff --git a/media/audio/audio_input_device.cc b/media/audio/audio_input_device.cc |
| index aa44d9d7552e0c4f40cf550465aa891fdf8edec9..bc22d38fd4e9bdee8afd377ab4013f27db4ed778 100644 |
| --- a/media/audio/audio_input_device.cc |
| +++ b/media/audio/audio_input_device.cc |
| @@ -335,9 +335,10 @@ void AudioInputDevice::AudioThreadCallback::Process(uint32_t pending_data) { |
| // Deliver captured data to the client in floating point format and update |
| // the audio delay measurement. |
| + // TODO(olka, tommi): Do something with |delay_timestamp|. |
|
o1ka
2017/02/10 13:28:50
Looking on TimeTicks::IsConsistentAcrossProcesses(
o1ka
2017/02/10 13:28:50
Will we break anything if we leave it as "TODO"? L
DaleCurtis
2017/02/11 01:43:13
Good question, looking at the implementations, thi
o1ka
2017/02/13 14:00:21
Can we have this documented in the code?
|
| capture_callback_->Capture( |
| audio_bus, |
| - buffer->params.hardware_delay_bytes / bytes_per_ms_, // Delay in ms |
| + base::TimeDelta::FromMicroseconds(buffer->params.delay).InMilliseconds(), |
| buffer->params.volume, buffer->params.key_pressed); |
| if (++current_segment_id_ >= total_segments_) |