| Index: content/renderer/media/renderer_webaudiodevice_impl.cc
|
| diff --git a/content/renderer/media/renderer_webaudiodevice_impl.cc b/content/renderer/media/renderer_webaudiodevice_impl.cc
|
| index 03778f13ffd4b9a53cbc759c60dfc6b51685d6d3..d0543250597413ad3260719d915507693540f985 100644
|
| --- a/content/renderer/media/renderer_webaudiodevice_impl.cc
|
| +++ b/content/renderer/media/renderer_webaudiodevice_impl.cc
|
| @@ -7,11 +7,11 @@
|
| using WebKit::WebAudioDevice;
|
| using WebKit::WebVector;
|
|
|
| -RendererWebAudioDeviceImpl::RendererWebAudioDeviceImpl(size_t buffer_size,
|
| - int channels, double sample_rate, WebAudioDevice::RenderCallback* callback)
|
| +RendererWebAudioDeviceImpl::RendererWebAudioDeviceImpl(
|
| + const AudioParameters& params, WebAudioDevice::RenderCallback* callback)
|
| : is_running_(false),
|
| client_callback_(callback) {
|
| - audio_device_ = new AudioDevice(buffer_size, channels, sample_rate, this);
|
| + audio_device_ = new AudioDevice(params, this);
|
| }
|
|
|
| RendererWebAudioDeviceImpl::~RendererWebAudioDeviceImpl() {
|
|
|