X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Fresamplert%2Fresamplert.C;h=2b3b98d5fdc61b0ca967c76c88cc65e96ed1f3f1;hb=128492e56ad719c2173a56379f423f6791f14906;hp=af6c4ab6a773a7b1c42e8f639a10a4ee3fb2fb4e;hpb=7fd85fb66168f6b518c5f2d73e04036e87faa0e1;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/plugins/resamplert/resamplert.C b/cinelerra-5.1/plugins/resamplert/resamplert.C index af6c4ab6..2b3b98d5 100644 --- a/cinelerra-5.1/plugins/resamplert/resamplert.C +++ b/cinelerra-5.1/plugins/resamplert/resamplert.C @@ -79,10 +79,10 @@ void ResampleRTConfig::boundaries() ResampleRTWindow::ResampleRTWindow(ResampleRT *plugin) : PluginClientWindow(plugin, - 210, - 160, - 200, - 160, + xS(180), + yS(110), + xS(180), + yS(110), 0) { this->plugin = plugin; @@ -182,8 +182,7 @@ ResampleRTResample::ResampleRTResample(ResampleRT *plugin) // To get the keyframes to work, resampling is always done in the forward // direction with the plugin converting to reverse. int ResampleRTResample::read_samples(Samples *buffer, - int64_t start, - int64_t len) + int64_t start, int64_t len, int direction) { int result = plugin->read_samples(buffer, 0,