diff --git a/CMakeLists.txt b/CMakeLists.txt index 9e88ffb5386..bb4bfe7c3c5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -15,7 +15,7 @@ INCLUDE(FindPkgConfig) SET(VERSION_MAJOR "1") SET(VERSION_MINOR "0") -SET(VERSION_PATCH "93") +SET(VERSION_PATCH "95") #SET(VERSION_SUFFIX "") SET(VERSION "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}") IF(VERSION_SUFFIX) diff --git a/plugins/audio_file_processor/audio_file_processor.cpp b/plugins/audio_file_processor/audio_file_processor.cpp index 14e14daf6da..d23377c8d5e 100644 --- a/plugins/audio_file_processor/audio_file_processor.cpp +++ b/plugins/audio_file_processor/audio_file_processor.cpp @@ -362,10 +362,10 @@ void audioFileProcessor::startPointChanged( void ) m_startPointModel.setValue( tmp ); } - // check if start & end overlap and nudge end up if so - if( m_startPointModel.value() == m_endPointModel.value() ) + // nudge loop point with end + if( m_loopPointModel.value() >= m_endPointModel.value() ) { - m_endPointModel.setValue( qMin( m_endPointModel.value() + 0.001f, 1.0f ) ); + m_loopPointModel.setValue( qMax( m_endPointModel.value() - 0.001f, 0.0f ) ); } // nudge loop point with start @@ -374,10 +374,10 @@ void audioFileProcessor::startPointChanged( void ) m_loopPointModel.setValue( m_startPointModel.value() ); } - // nudge loop point with end - if( m_loopPointModel.value() > m_endPointModel.value() ) + // check if start & end overlap and nudge end up if so + if( m_startPointModel.value() == m_endPointModel.value() ) { - m_loopPointModel.setValue( m_endPointModel.value() ); + m_endPointModel.setValue( qMin( m_endPointModel.value() + 0.001f, 1.0f ) ); } pointChanged();