OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/renderer/media/audio_renderer_impl.h" | 5 #include "content/renderer/media/audio_renderer_impl.h" |
6 | 6 |
7 #include <math.h> | 7 #include <math.h> |
8 | 8 |
9 #include "chrome/common/render_messages.h" | 9 #include "chrome/common/render_messages.h" |
10 #include "chrome/common/render_messages_params.h" | 10 #include "chrome/common/render_messages_params.h" |
11 #include "chrome/renderer/audio_message_filter.h" | 11 #include "chrome/renderer/audio_message_filter.h" |
12 #include "chrome/renderer/render_view.h" | 12 #include "chrome/renderer/render_view.h" |
13 #include "chrome/renderer/render_thread.h" | 13 #include "chrome/renderer/render_thread.h" |
14 #include "media/base/filter_host.h" | 14 #include "media/base/filter_host.h" |
15 | 15 |
(...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
353 DCHECK(MessageLoop::current() == io_loop_); | 353 DCHECK(MessageLoop::current() == io_loop_); |
354 | 354 |
355 // We treat the IO loop going away the same as stopping. | 355 // We treat the IO loop going away the same as stopping. |
356 base::AutoLock auto_lock(lock_); | 356 base::AutoLock auto_lock(lock_); |
357 if (stopped_) | 357 if (stopped_) |
358 return; | 358 return; |
359 | 359 |
360 stopped_ = true; | 360 stopped_ = true; |
361 DestroyTask(); | 361 DestroyTask(); |
362 } | 362 } |
OLD | NEW |