Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(885)

Unified Diff: content/browser/renderer_host/media/audio_input_sync_writer.h

Issue 510913005: Add native log and uma stat when all input shared memory buffers are full (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: added unittest and addressed comments. Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 424d7907f11326717965bb74b762e0276bcac6a9..6213d2429b923cd6b494addd579e28b82fcd3928 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 {
virtual ~AudioInputSyncWriter();
// media::AudioInputController::SyncWriter implementation.
- virtual void UpdateRecordedBytes(uint32 bytes) OVERRIDE;
virtual void Write(const media::AudioBus* data,
double volume,
- bool key_pressed) OVERRIDE;
+ bool key_pressed,
+ uint32 hardware_delay_bytes) OVERRIDE;
virtual void Close() OVERRIDE;
bool Init();

Powered by Google App Engine
This is Rietveld 408576698