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

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

Issue 11638047: Revert 170870 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/win/waveout_output_win.cc
===================================================================
--- media/audio/win/waveout_output_win.cc (revision 174232)
+++ media/audio/win/waveout_output_win.cc (working copy)
@@ -11,8 +11,6 @@
#include "base/basictypes.h"
#include "base/debug/trace_event.h"
#include "base/logging.h"
-#include "base/message_loop_proxy.h"
-#include "base/threading/platform_thread.h"
#include "media/audio/audio_io.h"
#include "media/audio/audio_util.h"
#include "media/audio/win/audio_manager_win.h"
@@ -110,11 +108,6 @@
}
format_.SubFormat = KSDATAFORMAT_SUBTYPE_PCM;
format_.Samples.wValidBitsPerSample = params.bits_per_sample();
-
- // Boost thread priority. Required for glitch free background audio.
- DCHECK(manager_->GetMessageLoop()->BelongsToCurrentThread());
- base::PlatformThread::SetThreadPriority(
- GetCurrentThread(), base::kThreadPriority_RealtimeAudio);
}
PCMWaveOutAudioOutputStream::~PCMWaveOutAudioOutputStream() {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698