vclient->input[i] = frame[i];
vclient->output[i] = frame[i];
}
- vclient->source_start = (int64_t)(plugin ?
- plugin->startproject *
- frame_rate /
- vclient->project_frame_rate :
- 0);
+
+ if(plugin)
+ {
+ vclient->source_start = (int64_t)plugin->startproject *
+ frame_rate /
+ vclient->project_frame_rate;
+ }
vclient->direction = direction;
+//PRINT_TRACE
+//printf("plugin=%p source_start=%ld\n", plugin, vclient->source_start);
+
vclient->begin_process_buffer();
if(multichannel)
{
client->source_start = start;
client->total_len = end - start;
client->total_in_buffers = channels;
+
+//PRINT_TRACE
+//printf(" source_start=%ld total_len=%ld\n", client->source_start, client->total_len);
+
return client->plugin_get_parameters();
}
// If we're a VirtualNode, read_data in the virtual plugin node handles
// backward propogation and produces the data.
// If we're a Module, render in the module produces the data.
+//PRINT_TRACE
int result = -1;
if(!multichannel) channel = 0;