| Index: media/audio/audio_output_device.h
|
| diff --git a/media/audio/audio_output_device.h b/media/audio/audio_output_device.h
|
| index 20f4c5b2f00f1ae7e50f2489e6763b03b4e8b28f..d5fc708cc375cd30d8dba0296802960f0a255d51 100644
|
| --- a/media/audio/audio_output_device.h
|
| +++ b/media/audio/audio_output_device.h
|
| @@ -110,11 +110,14 @@ class MEDIA_EXPORT AudioOutputDevice
|
| void OnStateChanged(AudioOutputIPCDelegateState state) override;
|
| void OnDeviceAuthorized(OutputDeviceStatus device_status,
|
| const media::AudioParameters& output_params) override;
|
| - void OnStreamCreated(base::SharedMemoryHandle handle,
|
| + void OnStreamCreated(content::mojom::AudioOutputStreamPtr* stream,
|
| + base::SharedMemoryHandle handle,
|
| base::SyncSocket::Handle socket_handle,
|
| int length) override;
|
| void OnIPCClosed() override;
|
|
|
| + AudioOutputIPC* getIPC() override;
|
| +
|
| protected:
|
| // Magic required by ref_counted.h to avoid any code deleting the object
|
| // accidentally while there are references to it.
|
| @@ -157,6 +160,8 @@ class MEDIA_EXPORT AudioOutputDevice
|
| // be accessed on the IO thread.
|
| scoped_ptr<AudioOutputIPC> ipc_;
|
|
|
| + content::mojom::AudioOutputStreamPtr* stream_;
|
| +
|
| // Current state (must only be accessed from the IO thread). See comments for
|
| // State enum above.
|
| State state_;
|
|
|