Chromium Code Reviews| Index: content/renderer/media/media_stream_audio_level_calculator.h |
| diff --git a/content/renderer/media/media_stream_audio_level_calculator.h b/content/renderer/media/media_stream_audio_level_calculator.h |
| index 41c9c34f7be1b2f803941ca2429417ddc8eb4fdc..970c08d72fd979de52ec25114034589fcb1c2256 100644 |
| --- a/content/renderer/media/media_stream_audio_level_calculator.h |
| +++ b/content/renderer/media/media_stream_audio_level_calculator.h |
| @@ -22,7 +22,7 @@ class MediaStreamAudioLevelCalculator { |
| // Calculates the signal level of the audio data. |
| // Returns the absolute value of the amplitude of the signal. |
| int Calculate(const int16* audio_data, int number_of_channels, |
| - int number_of_frames); |
| + int number_of_frames, bool has_energy); |
|
tommi (sloooow) - chröme
2014/10/17 11:59:08
can you add documentation for the new parameter?
no longer working on chromium
2014/10/20 08:08:42
All done, please take a look.
Thanks.
|
| private: |
| // Used to DCHECK that the constructor and Calculate() are always called on |