Index: media/audio/audio_output_controller.h |
diff --git a/media/audio/audio_output_controller.h b/media/audio/audio_output_controller.h |
index 615c6a5e6c60d6aad9bb2ad49d3b14c01d613d28..0f0c1f9f1807f0adf4a433763b7aac36ffa2f0f9 100644 |
--- a/media/audio/audio_output_controller.h |
+++ b/media/audio/audio_output_controller.h |
@@ -91,11 +91,10 @@ class MEDIA_EXPORT AudioOutputController |
// prepare more data and perform synchronization. |
virtual void UpdatePendingBytes(uint32 bytes) = 0; |
- // Attempt to completely fill |dest|, return the actual number of frames |
- // that could be read. |source| may optionally be provided for input data. |
- // If |block| is specified, the Read() will block until data is available |
- // or a timeout is reached. |
- virtual int Read(bool block, const AudioBus* source, AudioBus* dest) = 0; |
+ // Attempts to completely fill |dest|, zeroing |dest| if the request can not |
+ // be fulfilled (due to timeout). |source| may optionally be provided for |
+ // input data. |
+ virtual void Read(const AudioBus* source, AudioBus* dest) = 0; |
// Close this synchronous reader. |
virtual void Close() = 0; |