first commit
This commit is contained in:
commit
391f9e9a0b
10 changed files with 225 additions and 0 deletions
19
plugin.hh
Normal file
19
plugin.hh
Normal file
|
@ -0,0 +1,19 @@
|
|||
#pragma once
|
||||
#include <stdint.h>
|
||||
|
||||
namespace Dynamite {
|
||||
enum PluginPort {
|
||||
IN, OUT, DRIVE
|
||||
};
|
||||
|
||||
class Plugin {
|
||||
const float *drive;
|
||||
const float *input;
|
||||
float *output;
|
||||
public:
|
||||
void connect_port(PluginPort port, void* data);
|
||||
void activate();
|
||||
void run(uint32_t n_samples);
|
||||
void deactivate();
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue