if(buffer)
{
- int size = MIN(new_allocation, allocation);
-
+ int size = new_allocation;
memcpy(new_buffer->get_data(),
buffer->get_data(),
(size - PluginClient::in_buffer_size) * sizeof(double));
{
load_configuration();
- if(need_reconfigure) reconfigure();
+// if(need_reconfigure) reconfigure();
+ reconfigure();
// printf("DelayAudio::process_realtime %d %d\n",
// input_start, size);
DelayAudioWindow::DelayAudioWindow(DelayAudio *plugin)
- : PluginClientWindow(plugin, xS(285), yS(80), xS(285), yS(80), 0)
+ : PluginClientWindow(plugin, xS(200), yS(80), xS(200), yS(80), 0)
{
this->plugin = plugin;
}