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. 4 5 #include "content/shell/renderer/test_runner/mock_web_audio_device.h" 6 7 namespace content { 8 MockWebAudioDevice(double sample_rate)9MockWebAudioDevice::MockWebAudioDevice(double sample_rate) 10 : sample_rate_(sample_rate) {} 11 ~MockWebAudioDevice()12MockWebAudioDevice::~MockWebAudioDevice() {} 13 start()14void MockWebAudioDevice::start() {} 15 stop()16void MockWebAudioDevice::stop() {} 17 sampleRate()18double MockWebAudioDevice::sampleRate() { 19 return sample_rate_; 20 } 21 22 } // namespace content 23