| Index: media/audio/audio_output_device.h
|
| diff --git a/media/audio/audio_output_device.h b/media/audio/audio_output_device.h
|
| index ed270abee62f30f695a313903430b6ee32db0302..fe4459cc5018d411041b39c49a3e4f35a90187e6 100644
|
| --- a/media/audio/audio_output_device.h
|
| +++ b/media/audio/audio_output_device.h
|
| @@ -160,6 +160,14 @@ class MEDIA_EXPORT AudioOutputDevice
|
| AudioDeviceThread audio_thread_;
|
| scoped_ptr<AudioOutputDevice::AudioThreadCallback> audio_callback_;
|
|
|
| + // Temporary hack to ignore OnStreamCreated() due to the user calling Stop()
|
| + // so we don't start the audio thread pointing to a potentially freed
|
| + // |callback_|.
|
| + //
|
| + // TODO(scherkus): Replace this by changing AudioRendererSink to either accept
|
| + // the callback via Start(). See http://crbug.com/151051 for details.
|
| + bool stopping_hack_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(AudioOutputDevice);
|
| };
|
|
|
|
|