mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-03 15:45:46 +08:00
refs #335, added functions for windows platform / mixer
This commit is contained in:
committed by
Roland Winklmeier
parent
e1647cd8fd
commit
11521b2f47
@@ -26,6 +26,7 @@
|
||||
#include <QtNetwork/QHostInfo>
|
||||
#include <QProcessEnvironment>
|
||||
#include <QSysInfo>
|
||||
#include <QProcess>
|
||||
|
||||
/*
|
||||
* Metadata for Math
|
||||
@@ -487,3 +488,10 @@ const QString &BlackMisc::localHostNameEnvVariable()
|
||||
QProcessEnvironment::systemEnvironment().value("HOSTNAME"));
|
||||
return hostName;
|
||||
}
|
||||
|
||||
|
||||
bool BlackMisc::Audio::startWindowsMixer()
|
||||
{
|
||||
QStringList parameterlist;
|
||||
return QProcess::startDetached("SndVol.exe", parameterlist);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user