input and output level control ports

This commit is contained in:
Mike Oliphant
2023-03-13 13:16:10 -07:00
parent 73975aeef6
commit cbf1ad7ccf
3 changed files with 38 additions and 10 deletions
+3 -5
View File
@@ -40,6 +40,8 @@ namespace NAM {
LV2_Atom_Sequence* notify;
const float* audio_in;
float* audio_out;
float* input_level;
float* output_level;
};
Ports ports = {};
@@ -51,11 +53,7 @@ namespace NAM {
std::unique_ptr<::DSP> currentModel;
std::unique_ptr<::DSP> stagedModel;
std::unordered_map<std::string, double> mNAMParams =
{
{"Input", 0.0},
{"Output", 0.0}
};
std::unordered_map<std::string, double> mNAMParams = {};
Plugin(float rate);