Index: components/test_runner/mock_web_audio_device.h |
diff --git a/components/test_runner/mock_web_audio_device.h b/components/test_runner/mock_web_audio_device.h |
index 1c45c4352965058776b50cdcf059a33f1f8fadc4..cf9f02d0940d68438c4beda31e43575edb9e3c21 100644 |
--- a/components/test_runner/mock_web_audio_device.h |
+++ b/components/test_runner/mock_web_audio_device.h |
@@ -12,16 +12,18 @@ namespace test_runner { |
class MockWebAudioDevice : public blink::WebAudioDevice { |
public: |
- explicit MockWebAudioDevice(double sample_rate); |
+ explicit MockWebAudioDevice(double sample_rate, int frames_per_buffer); |
~MockWebAudioDevice() override; |
// blink::WebAudioDevice: |
void start() override; |
void stop() override; |
double sampleRate() override; |
+ int framesPerBuffer() override; |
private: |
double sample_rate_; |
+ int frames_per_buffer_; |
DISALLOW_COPY_AND_ASSIGN(MockWebAudioDevice); |
}; |