blob: 830dededd28452e8892f801009bd761a6de7b503 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef WEBKIT_SUPPORT_WEB_AUDIO_DEVICE_MOCK_H_
#define WEBKIT_SUPPORT_WEB_AUDIO_DEVICE_MOCK_H_
#include "third_party/WebKit/public/platform/WebAudioDevice.h"
class WebAudioDeviceMock : public WebKit::WebAudioDevice {
public:
WebAudioDeviceMock(double sampleRate);
virtual ~WebAudioDeviceMock() { }
virtual void start() { }
virtual void stop() { }
virtual double sampleRate();
private:
double sample_rate_;
};
#endif // WEBKIT_SUPPORT_WEB_AUDIO_DEVICE_MOCK_H_
|