Skip to content

Commit

Permalink
Clean up source
Browse files Browse the repository at this point in the history
  • Loading branch information
brummer10 committed Apr 6, 2024
1 parent cde0955 commit eea7e06
Show file tree
Hide file tree
Showing 8 changed files with 192 additions and 279 deletions.
11 changes: 10 additions & 1 deletion Ratatouille/NeuralAmpMulti.cc
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@


#include "dsp.h"
#include "activations.h"


namespace ratatouille {

class NeuralAmpMulti {
private:
nam::DSP* modela;
Expand Down Expand Up @@ -73,7 +80,7 @@ inline void NeuralAmpMulti::init(unsigned int sample_rate)
// connect the Ports used by the plug-in class
void NeuralAmpMulti::connect(uint32_t port,void* data)
{
switch ((PortIndex)port)
switch (port)
{
case 2:
_fVslider0 = static_cast<float*>(data);
Expand Down Expand Up @@ -315,3 +322,5 @@ void NeuralAmpMulti::unload_nam_bfile() {
load_bfile = "None";
readyB.store(true, std::memory_order_release);
}

} // end namespace ratatouille
Loading

0 comments on commit eea7e06

Please sign in to comment.