From ea4f40cae2b4403d6fdb397265e5e501afb3d197 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Fri, 5 Jun 2015 12:33:06 +0000 Subject: 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 --- src/qmmp/qmmpaudioengine.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src') 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; } -- cgit v1.2.3-13-gbd6f