diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2015-06-05 12:33:06 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2015-06-05 12:33:06 +0000 |
| commit | ea4f40cae2b4403d6fdb397265e5e501afb3d197 (patch) | |
| tree | c6fb9b744f8e5b7f7f9c94bae0c2e6922d4f9329 | |
| parent | e2280c0fb92b8fd4269c61977187946d33fa8ee4 (diff) | |
| download | qmmp-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.cpp | 6 |
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; } |
