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

Unified Diff: media/audio/win/core_audio_util_win.cc

Issue 518433002: Revert of Revert of Remove the last piece of deprecated synchronous IO code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/audio/win/audio_manager_win.cc ('k') | media/base/audio_buffer_converter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/win/core_audio_util_win.cc
diff --git a/media/audio/win/core_audio_util_win.cc b/media/audio/win/core_audio_util_win.cc
index 29e955efce9e7e6eda70ffe276f95ace66dc0cbe..a01229c9cc89dd0d6c4e175741608c38bec36dca 100644
--- a/media/audio/win/core_audio_util_win.cc
+++ b/media/audio/win/core_audio_util_win.cc
@@ -698,8 +698,8 @@
if (role == eCommunications) {
// Raise the 'DUCKING' flag for default communication devices.
*params = AudioParameters(params->format(), params->channel_layout(),
- params->channels(), params->input_channels(), params->sample_rate(),
- params->bits_per_sample(), params->frames_per_buffer(),
+ params->channels(), params->sample_rate(), params->bits_per_sample(),
+ params->frames_per_buffer(),
params->effects() | AudioParameters::DUCKING);
}
« no previous file with comments | « media/audio/win/audio_manager_win.cc ('k') | media/base/audio_buffer_converter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698