Add option for loading imported file with plugin's state. Use a small loop xfade amount as default.

This commit is contained in:
xenakios
2017-12-26 20:24:10 +02:00
parent 29e46bd008
commit 21b06b8353
3 changed files with 17 additions and 6 deletions

View File

@ -280,6 +280,7 @@ void PaulstretchpluginAudioProcessorEditor::showSettingsMenu()
{
PopupMenu menu;
menu.addItem(4, "Reset parameters", true, false);
menu.addItem(5, "Load file with plugin state", true, processor.m_load_file_with_state);
menu.addItem(1, "Play when host transport running", true, processor.m_play_when_host_plays);
menu.addItem(2, "Capture when host transport running", true, processor.m_capture_when_host_plays);
@ -307,6 +308,10 @@ void PaulstretchpluginAudioProcessorEditor::showSettingsMenu()
{
processor.resetParameters();
}
if (r == 5)
{
processor.m_load_file_with_state = !processor.m_load_file_with_state;
}
if (r == 3)
{
String fftlib = fftwf_version;