blob: 6788d86b6fc27d04bb2842c2d1fbfa83547aaf43 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
// Copyright 2014 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.
#include "components/test_runner/mock_web_audio_device.h"
namespace test_runner {
MockWebAudioDevice::MockWebAudioDevice(double sample_rate)
: sample_rate_(sample_rate) {}
MockWebAudioDevice::~MockWebAudioDevice() {}
void MockWebAudioDevice::start() {}
void MockWebAudioDevice::stop() {}
double MockWebAudioDevice::sampleRate() {
return sample_rate_;
}
} // namespace test_runner
|