Go to the source code of this file.
#define ENUM_C |
( |
|
name | ) |
typedef enum |
#define ENUM_END_C |
( |
|
name | ) |
name |
Enumerator |
---|
UNKNOWN |
|
UNMUTED |
|
MUTED |
|
Definition at line 19 of file media.h.
Definition at line 9 of file media_linux.cpp.
References MUTED, muteProcess, UNKNOWN, and UNMUTED.
Referenced by KbPerf::applyIndicators().
12 static quint64 lastTime = 0;
15 if(lastTime > 0 &&
muteProcess.state() == QProcess::NotRunning){
21 else if(output ==
"no")
24 quint64 time = QDateTime::currentMSecsSinceEpoch();
25 if(time - lastTime < 33)
31 muteProcess.start(
"sh", QStringList() <<
"-c" <<
"pacmd list-sinks|grep -A 15 '* index'|awk '/muted:/{ print $2 }'");