clang/win: Build without -Wno-tautological-compare.
[chromium-blink-merge.git] / components / test_runner / mock_web_audio_device.cc
blob6788d86b6fc27d04bb2842c2d1fbfa83547aaf43
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "components/test_runner/mock_web_audio_device.h"
7 namespace test_runner {
9 MockWebAudioDevice::MockWebAudioDevice(double sample_rate)
10 : sample_rate_(sample_rate) {}
12 MockWebAudioDevice::~MockWebAudioDevice() {}
14 void MockWebAudioDevice::start() {}
16 void MockWebAudioDevice::stop() {}
18 double MockWebAudioDevice::sampleRate() {
19 return sample_rate_;
22 } // namespace test_runner