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

Unified Diff: content/renderer/media/audio_input_device.h

Issue 9826023: Merge AudioRendererImpl and AudioRendererBase; add NullAudioSink (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix win build Created 8 years, 8 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
« no previous file with comments | « content/renderer/media/audio_hardware.cc ('k') | content/renderer/media/audio_renderer_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/audio_input_device.h
diff --git a/content/renderer/media/audio_input_device.h b/content/renderer/media/audio_input_device.h
index ac68b969568ef09df6a9ff0501849855efdccbb0..787dfad72dc4d8d5574b19ea02a04df2c740d756 100644
--- a/content/renderer/media/audio_input_device.h
+++ b/content/renderer/media/audio_input_device.h
@@ -95,8 +95,8 @@ class CONTENT_EXPORT AudioInputDevice
class CONTENT_EXPORT CaptureCallback {
public:
virtual void Capture(const std::vector<float*>& audio_data,
- size_t number_of_frames,
- size_t audio_delay_milliseconds,
+ int number_of_frames,
+ int audio_delay_milliseconds,
double volume) = 0;
virtual void OnCaptureError() = 0;
protected:
@@ -148,7 +148,7 @@ class CONTENT_EXPORT AudioInputDevice
return audio_parameters_.sample_rate();
}
- size_t buffer_size() const {
+ int buffer_size() const {
return audio_parameters_.frames_per_buffer();
}
« no previous file with comments | « content/renderer/media/audio_hardware.cc ('k') | content/renderer/media/audio_renderer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698