| Index: content/renderer/pepper/pepper_platform_audio_output.cc
|
| diff --git a/content/renderer/pepper/pepper_platform_audio_output.cc b/content/renderer/pepper/pepper_platform_audio_output.cc
|
| index 010b30f75db5c87f8aa86e17c9c1f9262ad7b77d..f5ae3ba0d2b39344f504e07f5b7030c59227d0f5 100644
|
| --- a/content/renderer/pepper/pepper_platform_audio_output.cc
|
| +++ b/content/renderer/pepper/pepper_platform_audio_output.cc
|
| @@ -72,6 +72,12 @@ void PepperPlatformAudioOutput::ShutDown() {
|
| void PepperPlatformAudioOutput::OnStateChanged(
|
| media::AudioOutputIPCDelegateState state) {}
|
|
|
| +void PepperPlatformAudioOutput::OnDeviceAuthorized(
|
| + bool success,
|
| + const media::AudioParameters& output_params) {
|
| + NOTREACHED();
|
| +}
|
| +
|
| void PepperPlatformAudioOutput::OnStreamCreated(
|
| base::SharedMemoryHandle handle,
|
| base::SyncSocket::Handle socket_handle,
|
| @@ -98,7 +104,6 @@ void PepperPlatformAudioOutput::OnStreamCreated(
|
| }
|
|
|
| void PepperPlatformAudioOutput::OnOutputDeviceSwitched(
|
| - int request_id,
|
| media::SwitchOutputDeviceResult result) {}
|
|
|
| void PepperPlatformAudioOutput::OnIPCClosed() { ipc_.reset(); }
|
| @@ -143,9 +148,8 @@ bool PepperPlatformAudioOutput::Initialize(int sample_rate,
|
| void PepperPlatformAudioOutput::InitializeOnIOThread(
|
| const media::AudioParameters& params) {
|
| DCHECK(io_task_runner_->BelongsToCurrentThread());
|
| - const int kSessionId = 0;
|
| if (ipc_)
|
| - ipc_->CreateStream(this, params, kSessionId);
|
| + ipc_->CreateStream(this, params);
|
| }
|
|
|
| void PepperPlatformAudioOutput::StartPlaybackOnIOThread() {
|
|
|