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

Unified Diff: media/audio/audio_input_controller.h

Issue 1293503002: Check buffer index in shared memory for input audio. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Now the Win compile error should really be fixed. Created 5 years, 4 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: media/audio/audio_input_controller.h
diff --git a/media/audio/audio_input_controller.h b/media/audio/audio_input_controller.h
index 5bfe6bd1e8c1a57baeffcf053a64b235bdba76f1..6f14394d0b397e4ed3a43df6ec3c5302d92d7964 100644
--- a/media/audio/audio_input_controller.h
+++ b/media/audio/audio_input_controller.h
@@ -131,14 +131,11 @@ class MEDIA_EXPORT AudioInputController
public:
virtual ~SyncWriter() {}
- // Notify the synchronous writer about the number of bytes in the
- // soundcard which has been recorded.
- virtual void UpdateRecordedBytes(uint32 bytes) = 0;
-
// Write certain amount of data from |data|.
virtual void Write(const AudioBus* data,
double volume,
- bool key_pressed) = 0;
+ bool key_pressed,
+ uint32 hardware_delay_bytes) = 0;
// Close this synchronous writer.
virtual void Close() = 0;

Powered by Google App Engine
This is Rietveld 408576698