| Index: media/audio/audio_device_thread.cc
|
| diff --git a/media/audio/audio_device_thread.cc b/media/audio/audio_device_thread.cc
|
| index 3e14d3de53929ae88488fe03fc200c325529ca89..c592acc6724ad7c8f4c9d463c877c74fcc3b9afc 100644
|
| --- a/media/audio/audio_device_thread.cc
|
| +++ b/media/audio/audio_device_thread.cc
|
| @@ -192,14 +192,8 @@ AudioDeviceThread::Callback::Callback(
|
| AudioDeviceThread::Callback::~Callback() {}
|
|
|
| void AudioDeviceThread::Callback::InitializeOnAudioThread() {
|
| - DCHECK(!audio_bus_.get());
|
| -
|
| MapSharedMemory();
|
| DCHECK(shared_memory_.memory() != NULL);
|
| -
|
| - // TODO(dalecurtis): Instead of creating a new AudioBus and memcpy'ing into
|
| - // the shared memory we should wrap the shared memory.
|
| - audio_bus_ = AudioBus::Create(audio_parameters_);
|
| }
|
|
|
| } // namespace media.
|
|
|