Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(67)

Side by Side Diff: media/audio/alsa/alsa_util.cc

Issue 1133363002: Getting rid of duplicate includes from media/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « media/audio/alsa/alsa_output.cc ('k') | media/audio/alsa/alsa_wrapper.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/alsa/alsa_util.h" 5 #include "media/audio/alsa/alsa_util.h"
6 6
7 #include <string>
8 7
9 #include "base/logging.h" 8 #include "base/logging.h"
10 #include "media/audio/alsa/alsa_wrapper.h" 9 #include "media/audio/alsa/alsa_wrapper.h"
11 10
12 namespace alsa_util { 11 namespace alsa_util {
13 12
14 static snd_pcm_t* OpenDevice(media::AlsaWrapper* wrapper, 13 static snd_pcm_t* OpenDevice(media::AlsaWrapper* wrapper,
15 const char* device_name, 14 const char* device_name,
16 snd_pcm_stream_t type, 15 snd_pcm_stream_t type,
17 int channels, 16 int channels,
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 else if (strcmp(elem_name, kMicElemName) == 0) 190 else if (strcmp(elem_name, kMicElemName) == 0)
192 mic_elem = elem; 191 mic_elem = elem;
193 } 192 }
194 } 193 }
195 194
196 // Did not find any Capture handle, use the Mic handle. 195 // Did not find any Capture handle, use the Mic handle.
197 return mic_elem; 196 return mic_elem;
198 } 197 }
199 198
200 } // namespace alsa_util 199 } // namespace alsa_util
OLDNEW
« no previous file with comments | « media/audio/alsa/alsa_output.cc ('k') | media/audio/alsa/alsa_wrapper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698