Merge pull request #4937 from ctrlaltdavid/dde-face-detection-interval

Throttle DDE face acquisition attempts in order to reduce CPU usage
This commit is contained in:
Philip Rosedale 2015-05-22 07:42:15 -07:00
commit 3a75dc4d1e

View file

@ -38,6 +38,7 @@ static const QString DDE_PROGRAM_PATH = "/dde.app/Contents/MacOS/dde";
static const QStringList DDE_ARGUMENTS = QStringList()
<< "--udp=" + DDE_SERVER_ADDR.toString() + ":" + QString::number(DDE_SERVER_PORT)
<< "--receiver=" + QString::number(DDE_CONTROL_PORT)
<< "--facedet_interval=500" // ms
<< "--headless";
static const int NUM_EXPRESSIONS = 46;