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

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

Issue 16684003: Use a direct include of strings headers in ipc/, jingle/, media/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
« no previous file with comments | « media/audio/win/audio_manager_win.cc ('k') | media/base/android/media_codec_bridge.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 (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/core_audio_util_win.h" 5 #include "media/audio/win/core_audio_util_win.h"
6 6
7 #include <Audioclient.h> 7 #include <Audioclient.h>
8 #include <Functiondiscoverykeys_devpkey.h> 8 #include <Functiondiscoverykeys_devpkey.h>
9 9
10 #include "base/command_line.h" 10 #include "base/command_line.h"
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/stringprintf.h" 12 #include "base/strings/stringprintf.h"
13 #include "base/strings/utf_string_conversions.h" 13 #include "base/strings/utf_string_conversions.h"
14 #include "base/win/scoped_co_mem.h" 14 #include "base/win/scoped_co_mem.h"
15 #include "base/win/scoped_handle.h" 15 #include "base/win/scoped_handle.h"
16 #include "base/win/scoped_propvariant.h" 16 #include "base/win/scoped_propvariant.h"
17 #include "base/win/windows_version.h" 17 #include "base/win/windows_version.h"
18 #include "media/base/media_switches.h" 18 #include "media/base/media_switches.h"
19 19
20 using base::win::ScopedCoMem; 20 using base::win::ScopedCoMem;
21 using base::win::ScopedHandle; 21 using base::win::ScopedHandle;
22 22
(...skipping 667 matching lines...) Expand 10 before | Expand all | Expand 10 after
690 return false; 690 return false;
691 691
692 // Using the AUDCLNT_BUFFERFLAGS_SILENT flag eliminates the need to 692 // Using the AUDCLNT_BUFFERFLAGS_SILENT flag eliminates the need to
693 // explicitly write silence data to the rendering buffer. 693 // explicitly write silence data to the rendering buffer.
694 DVLOG(2) << "filling up " << num_frames_to_fill << " frames with silence"; 694 DVLOG(2) << "filling up " << num_frames_to_fill << " frames with silence";
695 return SUCCEEDED(render_client->ReleaseBuffer(num_frames_to_fill, 695 return SUCCEEDED(render_client->ReleaseBuffer(num_frames_to_fill,
696 AUDCLNT_BUFFERFLAGS_SILENT)); 696 AUDCLNT_BUFFERFLAGS_SILENT));
697 } 697 }
698 698
699 } // namespace media 699 } // namespace media
OLDNEW
« no previous file with comments | « media/audio/win/audio_manager_win.cc ('k') | media/base/android/media_codec_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698