projects
/
goodguy
/
history.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
load files search box, avoid segv in get_prev_keyframe, fix titles only handles,...
[goodguy/history.git]
/
cinelerra-5.1
/
cinelerra
/
lv2ui.C
diff --git
a/cinelerra-5.1/cinelerra/lv2ui.C
b/cinelerra-5.1/cinelerra/lv2ui.C
index 3ea5ba170f8ba006a2bddaca2ea58fef9c51df68..a025ef1c5d79e727e9738ce6f7f5391c40d6922d 100644
(file)
--- a/
cinelerra-5.1/cinelerra/lv2ui.C
+++ b/
cinelerra-5.1/cinelerra/lv2ui.C
@@
-34,9
+34,9
@@
int PluginLV2ChildUI::run(int ac, char **av)
ForkBase::ppid = atoi(av[3]);
}
else {
ForkBase::ppid = atoi(av[3]);
}
else {
- int sample_rate =
48000
;
+ int sample_rate =
samplerate, bfrsz = block_length
;
if( ac > 2 ) sample_rate = atoi(av[2]);
if( ac > 2 ) sample_rate = atoi(av[2]);
- if( init_ui(av[1], sample_rate) ) {
+ if( init_ui(av[1], sample_rate
, bfrsz
) ) {
fprintf(stderr," init_ui failed\n");
return 1;
}
fprintf(stderr," init_ui failed\n");
return 1;
}