void CueControl::playStutter(double v) { QMutexLocker lock(&m_mutex); //qDebug() << "playStutter" << v; if (v != 0.0) { if (m_pPlayButton->get() != 0.0) { cueGoto(1.0); } else { m_pPlayButton->set(1.0); } } }
void CueControl::cueGotoAndPlay(double v) { if (!v) return; cueGoto(v); QMutexLocker lock(&m_mutex); // Start playing if not already if (m_pPlayButton->get()==0.) { m_pPlayButton->set(1.0); } }
void CueControl::cueGotoAndPlay(double v) { if (!v) return; cueGoto(v); QMutexLocker lock(&m_mutex); // Start playing if not already if (!m_pPlayButton->toBool()) { // cueGoto is processed asynchrony. // avoid a wrong cue set if seek by cueGoto is still pending m_bypassCueSetByPlay = true; m_pPlayButton->set(1.0); } }
void CueControl::cueGotoAndPlay(double v) { if (!v) return; cueGoto(v); QMutexLocker lock(&m_mutex); // Start playing if not already if (!isPlayingByPlayButton()) { // cueGoto is processed asynchrony. // avoid a wrong cue set if seek by cueGoto is still pending m_bPreviewing = false; m_iCurrentlyPreviewingHotcues = 0; m_bypassCueSetByPlay = true; m_pPlay->set(1.0); } }