Browse Source

When changing audio file, seek to beginning of play range

tags/v100_p5
xenakios 7 years ago
parent
commit
f6274f19be
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      Source/PluginProcessor.cpp

+ 1
- 0
Source/PluginProcessor.cpp View File

@@ -701,6 +701,7 @@ String PaulstretchpluginAudioProcessor::setAudioFile(File f)
m_thumb->setSource(new FileInputSource(f));
ScopedLock locker(m_cs);
m_stretch_source->setAudioFile(f);
m_stretch_source->seekPercent(*getFloatParameter(cpi_soundstart));
m_current_file = f;
m_current_file_date = m_current_file.getLastModificationTime();
m_using_memory_buffer = false;


Loading…
Cancel
Save