Make loop end move with sample end

This commit is contained in:
Tres Finocchiaro
2014-09-07 16:20:17 -04:00
parent dc681604e0
commit b33eceda7e

View File

@@ -373,6 +373,12 @@ void audioFileProcessor::startPointChanged( void )
{
m_loopPointModel.setValue( m_startPointModel.value() );
}
// nudge loop point with end
if( m_loopPointModel.value() > m_endPointModel.value() )
{
m_loopPointModel.setValue( m_endPointModel.value() );
}
pointChanged();
@@ -380,7 +386,7 @@ void audioFileProcessor::startPointChanged( void )
void audioFileProcessor::endPointChanged( void )
{
// same as start
// same as start, for now
startPointChanged();
}