Attempt implementing offline rendering from the plugin but not going so great. Looks like the StretchAudioSource doesn't really work that robustly...
This commit is contained in:
@ -358,6 +358,7 @@ void PaulstretchpluginAudioProcessorEditor::showSettingsMenu()
|
||||
menu.addItem(6, "Dump preset to clipboard", true, false);
|
||||
#endif
|
||||
menu.addItem(7, "Show technical info", true, processor.m_show_technical_info);
|
||||
menu.addItem(8, "Offline render...", true, false);
|
||||
int r = menu.show();
|
||||
if (r >= 200 && r < 210)
|
||||
{
|
||||
@ -415,6 +416,10 @@ void PaulstretchpluginAudioProcessorEditor::showSettingsMenu()
|
||||
toggleBool(processor.m_show_technical_info);
|
||||
processor.m_propsfile->m_props_file->setValue("showtechnicalinfo", processor.m_show_technical_info);
|
||||
}
|
||||
if (r == 8)
|
||||
{
|
||||
processor.offlineRender(File("C:\\MusicAudio\\sourcesamples\\paultesmaus\\plugin_offline_test\\out.wav"));
|
||||
}
|
||||
}
|
||||
|
||||
WaveformComponent::WaveformComponent(AudioFormatManager* afm, AudioThumbnail* thumb)
|
||||
|
Reference in New Issue
Block a user