# HG changeset patch # User matthiasm # Date 1403084645 -3600 # Node ID d511868c1ffe8b455d7c78fcfed46b49840dac26 # Parent 0b08d860081b4f15f6eed5609f73750d865e1956 smaller step size for ffwd and rewind diff -r 0b08d860081b -r d511868c1ffe src/MainWindow.cpp --- a/src/MainWindow.cpp Wed Jun 18 10:13:12 2014 +0100 +++ b/src/MainWindow.cpp Wed Jun 18 10:44:05 2014 +0100 @@ -3296,9 +3296,9 @@ size_t sr = getMainModel()->getSampleRate(); // The step is supposed to scale and be as wide as a step of - // m_defaultFfwdRwdStep seconds at zoom level 512 and sr = 44100 + // m_defaultFfwdRwdStep seconds at zoom level 720 and sr = 44100 size_t framesPerPixel = m_viewManager->getGlobalZoom(); - size_t defaultZoom = (512 * 44100) / sr; + size_t defaultZoom = (720 * 44100) / sr; float scaler = (framesPerPixel * 1.0f) / defaultZoom; @@ -3336,9 +3336,9 @@ size_t sr = getMainModel()->getSampleRate(); // The step is supposed to scale and be as wide as a step of - // m_defaultFfwdRwdStep seconds at zoom level 512 and sr = 44100 + // m_defaultFfwdRwdStep seconds at zoom level 720 and sr = 44100 size_t framesPerPixel = m_viewManager->getGlobalZoom(); - size_t defaultZoom = (512 * 44100) / sr; + size_t defaultZoom = (720 * 44100) / sr; float scaler = (framesPerPixel * 1.0f) / defaultZoom; frame = RealTime::realTime2Frame