| Index: content/renderer/media/audio_device.h
|
| diff --git a/content/renderer/media/audio_device.h b/content/renderer/media/audio_device.h
|
| index 3abb04f13bb5db2918c9acde3e2e598c59cf67ae..4cdb94642916ad85499ebb9d41b7cde3a5fd0c4d 100644
|
| --- a/content/renderer/media/audio_device.h
|
| +++ b/content/renderer/media/audio_device.h
|
| @@ -86,17 +86,11 @@ class CONTENT_EXPORT AudioDevice
|
| // Minimal constructor where Initialize() must be called later.
|
| AudioDevice();
|
|
|
| - AudioDevice(size_t buffer_size,
|
| - int channels,
|
| - double sample_rate,
|
| - RenderCallback* callback);
|
| + AudioDevice(const AudioParameters& params, RenderCallback* callback);
|
|
|
| // AudioRendererSink implementation.
|
|
|
| - virtual void Initialize(size_t buffer_size,
|
| - int channels,
|
| - double sample_rate,
|
| - AudioParameters::Format latency_format,
|
| + virtual void Initialize(const AudioParameters& params,
|
| RenderCallback* callback) OVERRIDE;
|
| // Starts audio playback.
|
| virtual void Start() OVERRIDE;
|
|
|