Commit 8fabace654524d8b555a3fe6e240ad1009bf09f9
1 parent
7bb572fcbc
Exists in
master
and in
2 other branches
불필요한 메시지 출력 제거
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
app/gui/oven_control/soundplayer.cpp
@@ -20,12 +20,12 @@ void SoundPlayWorker::play(const QString &filename) | @@ -20,12 +20,12 @@ void SoundPlayWorker::play(const QString &filename) | ||
20 | { | 20 | { |
21 | if (proc->state() != QProcess::NotRunning) | 21 | if (proc->state() != QProcess::NotRunning) |
22 | { | 22 | { |
23 | - system("amixer -c 0 sset 'Headphone' off"); | 23 | + system("amixer -c 0 sset 'Headphone' off > /dev/null"); |
24 | proc->terminate(); | 24 | proc->terminate(); |
25 | proc->waitForFinished(); | 25 | proc->waitForFinished(); |
26 | } | 26 | } |
27 | 27 | ||
28 | - system("amixer -c 0 sset 'Headphone' on"); | 28 | + system("amixer -c 0 sset 'Headphone' on > /dev/null"); |
29 | proc->start(QString("aplay"), QStringList(filename)); | 29 | proc->start(QString("aplay"), QStringList(filename)); |
30 | proc->waitForStarted(); | 30 | proc->waitForStarted(); |
31 | } | 31 | } |