Maybe nicer fix for restoring the play range. Use recursive mutex in audio source.
This commit is contained in:
@ -727,7 +727,7 @@ void StretchAudioSource::setOnsetDetection(double x)
|
||||
|
||||
void StretchAudioSource::setPlayRange(Range<double> playrange)
|
||||
{
|
||||
if (m_playrange.isEmpty() == false && playrange == m_playrange)
|
||||
if ((m_playrange.isEmpty() == false && playrange == m_playrange) || playrange==m_inputfile->getActiveRange())
|
||||
return;
|
||||
if (m_cs.tryEnter())
|
||||
{
|
||||
|
Reference in New Issue
Block a user