• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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)9 MockWebAudioDevice::MockWebAudioDevice(double sample_rate)
10     : sample_rate_(sample_rate) {}
11 
~MockWebAudioDevice()12 MockWebAudioDevice::~MockWebAudioDevice() {}
13 
start()14 void MockWebAudioDevice::start() {}
15 
stop()16 void MockWebAudioDevice::stop() {}
17 
sampleRate()18 double MockWebAudioDevice::sampleRate() {
19   return sample_rate_;
20 }
21 
22 }  // namespace content
23