2 #include "pluginaclient.h"
6 #define _(String) gettext(String)
7 #define gettext_noop(String) String
8 #define N_(String) gettext_noop (String)
10 class InvertAudioEffect : public PluginAClient
13 InvertAudioEffect(PluginServer *server)
14 : PluginAClient(server)
23 return new VFrame(picon_png);
27 return _("Invert Audio");
33 int process_realtime(int64_t size, double *input_ptr, double *output_ptr)
35 for(int i = 0; i < size; i++)
36 output_ptr[i] = -input_ptr[i];
44 REGISTER_PLUGIN(InvertAudioEffect)