Some cleanup

* removed audio utils from blackmiscfreefunctions (we wanna give it up)
* comments
* formatting
This commit is contained in:
Klaus Basan
2015-12-19 03:33:46 +01:00
parent 3ac32fa58e
commit 8aa449bc13
11 changed files with 67 additions and 46 deletions

View File

@@ -0,0 +1,25 @@
/* Copyright (C) 2013
* swift project Community / Contributors
*
* This file is part of swift project. It is subject to the license terms in the LICENSE file found in the top-level
* directory of this distribution and at http://www.swift-project.org/license.html. No part of swift project,
* including this file, may be copied, modified, propagated, or distributed except according to the terms
* contained in the LICENSE file.
*/
#include "audioutils.h"
#include "blackmisc/project.h"
#include <QProcess>
namespace BlackMisc
{
namespace Audio
{
bool startWindowsMixer()
{
if (!CProject::isRunningOnWindowsNtPlatform()) { return false; }
QStringList parameterlist;
return QProcess::startDetached("SndVol.exe", parameterlist);
}
} // ns
} // ns