comparison view/ViewManager.cpp @ 976:f2c63ec85901 alignment-simple

Branch to test simple FFT model code
author Chris Cannam
date Mon, 15 Jun 2015 09:15:55 +0100
parents 36cddc3de023 4d54882bbf73
children e0ac21f07ab0
comparison
equal deleted inserted replaced
946:36cddc3de023 976:f2c63ec85901
164 } 164 }
165 165
166 void 166 void
167 ViewManager::setPlaybackFrame(sv_frame_t f) 167 ViewManager::setPlaybackFrame(sv_frame_t f)
168 { 168 {
169 if (f < 0) f = 0;
169 if (m_playbackFrame != f) { 170 if (m_playbackFrame != f) {
170 m_playbackFrame = f; 171 m_playbackFrame = f;
171 emit playbackFrameChanged(f); 172 emit playbackFrameChanged(f);
172 if (m_playSource && m_playSource->isPlaying()) { 173 if (m_playSource && m_playSource->isPlaying()) {
173 m_playSource->play(f); 174 m_playSource->play(f);