| 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/linux/alsa_util.h" | 5 #include "media/audio/linux/alsa_util.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 #include "media/audio/linux/alsa_wrapper.h" | 10 #include "media/audio/linux/alsa_wrapper.h" |
| (...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 191 else if (strcmp(elem_name, kMicElemName) == 0) | 191 else if (strcmp(elem_name, kMicElemName) == 0) |
| 192 mic_elem = elem; | 192 mic_elem = elem; |
| 193 } | 193 } |
| 194 } | 194 } |
| 195 | 195 |
| 196 // Did not find any Capture handle, use the Mic handle. | 196 // Did not find any Capture handle, use the Mic handle. |
| 197 return mic_elem; | 197 return mic_elem; |
| 198 } | 198 } |
| 199 | 199 |
| 200 } // namespace alsa_util | 200 } // namespace alsa_util |
| OLD | NEW |