Commit 0644a48f authored by Dorian Zedler's avatar Dorian Zedler

fixed pre-start commands being played over hdmi

parent b0db6c33
......@@ -76,7 +76,7 @@ bool AudioPlayer::play(QString path){
// play sound
connect(this->soundProcess, SIGNAL(finished(int, QProcess::ExitStatus)), waitLoop, SLOT(quit()));
soundProcess->start("omxplayer " + pGlobalAppSettings->qrcToNormalFile(path) + " --vol " + QString::number(-1500*(1-pGlobalAppSettings->loadSetting("soundVolume").toDouble())));
soundProcess->start("omxplayer -o local " + pGlobalAppSettings->qrcToNormalFile(path) + " --vol " + QString::number(-1500*(1-pGlobalAppSettings->loadSetting("soundVolume").toDouble())));
waitLoop->exec();
disconnect(this->soundProcess, SIGNAL(finished(int, QProcess::ExitStatus)), waitLoop, SLOT(quit()));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment