1 #ifndef RESAMPLEEFFECT_H
2 #define RESAMPLEEFFECT_H
5 #include "defaults.inc"
7 #include "mainprogress.inc"
8 #include "pluginaclient.h"
9 #include "resample.inc"
15 class ResampleFraction
: public BC_TextBox
18 ResampleFraction(ResampleEffect
*plugin
, int x
, int y
);
20 ResampleEffect
*plugin
;
25 class ResampleWindow
: public BC_Window
28 ResampleWindow(ResampleEffect
*plugin
, int x
, int y
);
29 void create_objects();
30 ResampleEffect
*plugin
;
35 class ResampleEffect
: public PluginAClient
38 ResampleEffect(PluginServer
*server
);
45 int process_loop(double *buffer
, int64_t &write_length
);
55 MainProgressBar
*progress
;
56 int64_t total_written
;
57 int64_t current_position
;