Skip to content

Commit

Permalink
changed a bunch of stuff
Browse files Browse the repository at this point in the history
record works on win32
  • Loading branch information
Shaji Khan committed Nov 20, 2024
1 parent e2d806d commit ece1d51
Show file tree
Hide file tree
Showing 9 changed files with 8 additions and 6 deletions.
Binary file modified LockFreeQueue.o
Binary file not shown.
Binary file modified amprack.exe
Binary file not shown.
7 changes: 4 additions & 3 deletions engine.cc
Original file line number Diff line number Diff line change
Expand Up @@ -129,10 +129,11 @@ Engine::Engine () {
knobs = filename_to_json (std::string (assetPath).append ("/knobs.json"));

//~ initLilv ();
queueManager.init (driver -> get_buffer_size ());
queueManager = new LockFreeQueueManager ();
queueManager->init (driver -> get_buffer_size ());
fileWriter = new FileWriter ();
queueManager.add_function (fileWriter->disk_write);
processor->lockFreeQueueManager = & queueManager ;
queueManager->add_function (fileWriter->disk_write);
processor->lockFreeQueueManager = queueManager ;
HERE LOGD ("processor status %d\n", processor->bypass);
//~ processor -> bypass = false ;
OUT
Expand Down
2 changes: 1 addition & 1 deletion engine.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class Engine {
nlohmann::json ladspaJson, lv2Json, creators, categories, lv2Map, amps, knobs ;
std::vector <std::string> * ladspaPlugins, * lv2Plugins ;
LilvPlugins* plugins = nullptr ;
LockFreeQueueManager queueManager ;
LockFreeQueueManager * queueManager ;

Engine ();
void buildPluginChain ();
Expand Down
Binary file modified engine.o
Binary file not shown.
1 change: 1 addition & 0 deletions process.cc
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ int Processor::inputPorts2 [MAX_PLUGINS];
int Processor::outputPorts [MAX_PLUGINS];
int Processor::outputPorts2 [MAX_PLUGINS];
void * Processor::handle [MAX_PLUGINS] ;
LockFreeQueueManager * Processor::lockFreeQueueManager;

void (*Processor::connect_port [MAX_PLUGINS])(LADSPA_Handle Instance,
unsigned long Port,
Expand Down
2 changes: 1 addition & 1 deletion process.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class Processor {
static int activePlugins;
void process (int, float *, float *);
static bool bypass, recording;
LockFreeQueueManager * lockFreeQueueManager;
static LockFreeQueueManager * lockFreeQueueManager;

Processor () ;
};
Expand Down
Binary file modified process.o
Binary file not shown.
2 changes: 1 addition & 1 deletion version.h
Original file line number Diff line number Diff line change
@@ -1 +1 @@
#define VERSION 162
#define VERSION 163

0 comments on commit ece1d51

Please sign in to comment.