OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "media/audio/win/audio_low_latency_output_win.h" | 5 #include "media/audio/win/audio_low_latency_output_win.h" |
6 | 6 |
7 #include <Functiondiscoverykeys_devpkey.h> | 7 #include <Functiondiscoverykeys_devpkey.h> |
8 | 8 |
9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
10 #include "base/logging.h" | 10 #include "base/logging.h" |
| 11 #include "base/macros.h" |
11 #include "base/metrics/histogram.h" | 12 #include "base/metrics/histogram.h" |
12 #include "base/strings/utf_string_conversions.h" | 13 #include "base/strings/utf_string_conversions.h" |
13 #include "base/trace_event/trace_event.h" | 14 #include "base/trace_event/trace_event.h" |
14 #include "base/win/scoped_propvariant.h" | 15 #include "base/win/scoped_propvariant.h" |
15 #include "media/audio/win/audio_manager_win.h" | 16 #include "media/audio/win/audio_manager_win.h" |
16 #include "media/audio/win/avrt_wrapper_win.h" | 17 #include "media/audio/win/avrt_wrapper_win.h" |
17 #include "media/audio/win/core_audio_util_win.h" | 18 #include "media/audio/win/core_audio_util_win.h" |
18 #include "media/base/limits.h" | 19 #include "media/base/limits.h" |
19 #include "media/base/media_switches.h" | 20 #include "media/base/media_switches.h" |
20 | 21 |
(...skipping 629 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
650 | 651 |
651 // Ensure that we don't quit the main thread loop immediately next | 652 // Ensure that we don't quit the main thread loop immediately next |
652 // time Start() is called. | 653 // time Start() is called. |
653 ResetEvent(stop_render_event_.Get()); | 654 ResetEvent(stop_render_event_.Get()); |
654 } | 655 } |
655 | 656 |
656 source_ = NULL; | 657 source_ = NULL; |
657 } | 658 } |
658 | 659 |
659 } // namespace media | 660 } // namespace media |
OLD | NEW |