From 8fabace654524d8b555a3fe6e240ad1009bf09f9 Mon Sep 17 00:00:00 2001 From: victor Date: Tue, 11 Jul 2017 16:46:45 +0900 Subject: [PATCH] =?UTF-8?q?=EB=B6=88=ED=95=84=EC=9A=94=ED=95=9C=20?= =?UTF-8?q?=EB=A9=94=EC=8B=9C=EC=A7=80=20=EC=B6=9C=EB=A0=A5=20=EC=A0=9C?= =?UTF-8?q?=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/gui/oven_control/soundplayer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/gui/oven_control/soundplayer.cpp b/app/gui/oven_control/soundplayer.cpp index b18eee7..d68abc2 100644 --- a/app/gui/oven_control/soundplayer.cpp +++ b/app/gui/oven_control/soundplayer.cpp @@ -20,12 +20,12 @@ void SoundPlayWorker::play(const QString &filename) { if (proc->state() != QProcess::NotRunning) { - system("amixer -c 0 sset 'Headphone' off"); + system("amixer -c 0 sset 'Headphone' off > /dev/null"); proc->terminate(); proc->waitForFinished(); } - system("amixer -c 0 sset 'Headphone' on"); + system("amixer -c 0 sset 'Headphone' on > /dev/null"); proc->start(QString("aplay"), QStringList(filename)); proc->waitForStarted(); } -- 2.1.4