aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2015-06-05 12:33:06 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2015-06-05 12:33:06 +0000
commitea4f40cae2b4403d6fdb397265e5e501afb3d197 (patch)
treec6fb9b744f8e5b7f7f9c94bae0c2e6922d4f9329
parente2280c0fb92b8fd4269c61977187946d33fa8ee4 (diff)
downloadqmmp-ea4f40cae2b4403d6fdb397265e5e501afb3d197.tar.gz
qmmp-ea4f40cae2b4403d6fdb397265e5e501afb3d197.tar.bz2
qmmp-ea4f40cae2b4403d6fdb397265e5e501afb3d197.zip
increased audio threads priority (win32 only)
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@5099 90c681e8-e032-0410-971d-27865f9a5e38
-rw-r--r--src/qmmp/qmmpaudioengine.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/qmmp/qmmpaudioengine.cpp b/src/qmmp/qmmpaudioengine.cpp
index 1d62f741b..d34d42b51 100644
--- a/src/qmmp/qmmpaudioengine.cpp
+++ b/src/qmmp/qmmpaudioengine.cpp
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2009-2014 by Ilya Kotov *
+ * Copyright (C) 2009-2015 by Ilya Kotov *
* forkotov02@hotmail.ru *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -102,7 +102,11 @@ bool QmmpAudioEngine::play()
prepareEffects(m_decoders.head());
if(!(m_output = createOutput()))
return false;
+#ifdef Q_OS_WIN
+ start(QThread::HighPriority);
+#else
start();
+#endif
return true;
}