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

Side by Side Diff: media/audio/win/audio_low_latency_input_win.cc

Issue 15995038: Use a direct include of utf_string_conversions.h in google_apis/, gpu/, ipc/, media/, ppapi/, print… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: better Created 7 years, 6 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 | Annotate | Revision Log
OLDNEW
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_input_win.h" 5 #include "media/audio/win/audio_low_latency_input_win.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "base/utf_string_conversions.h" 9 #include "base/strings/utf_string_conversions.h"
10 #include "media/audio/audio_util.h" 10 #include "media/audio/audio_util.h"
11 #include "media/audio/win/audio_manager_win.h" 11 #include "media/audio/win/audio_manager_win.h"
12 #include "media/audio/win/avrt_wrapper_win.h" 12 #include "media/audio/win/avrt_wrapper_win.h"
13 13
14 using base::win::ScopedComPtr; 14 using base::win::ScopedComPtr;
15 using base::win::ScopedCOMInitializer; 15 using base::win::ScopedCOMInitializer;
16 16
17 namespace media { 17 namespace media {
18 18
19 WASAPIAudioInputStream::WASAPIAudioInputStream( 19 WASAPIAudioInputStream::WASAPIAudioInputStream(
(...skipping 612 matching lines...) Expand 10 before | Expand all | Expand 10 after
632 return hr; 632 return hr;
633 633
634 // Obtain a reference to the ISimpleAudioVolume interface which enables 634 // Obtain a reference to the ISimpleAudioVolume interface which enables
635 // us to control the master volume level of an audio session. 635 // us to control the master volume level of an audio session.
636 hr = audio_client_->GetService(__uuidof(ISimpleAudioVolume), 636 hr = audio_client_->GetService(__uuidof(ISimpleAudioVolume),
637 simple_audio_volume_.ReceiveVoid()); 637 simple_audio_volume_.ReceiveVoid());
638 return hr; 638 return hr;
639 } 639 }
640 640
641 } // namespace media 641 } // namespace media
OLDNEW
« no previous file with comments | « media/audio/win/audio_device_listener_win_unittest.cc ('k') | media/audio/win/audio_low_latency_output_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698