Skip to content

Commit

Permalink
Fix LV2 build.
Browse files Browse the repository at this point in the history
  • Loading branch information
stazed committed Mar 19, 2021
1 parent bee7b65 commit 1b46d68
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions lv2/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ project (rakarrack-plus-lv2)

add_library(rakarrack-plus-lv2 SHARED
rkrlv2.C
../src/Effect.C
../src/EQ.C
../src/AnalogFilter.C
../src/Compressor.C
Expand Down
4 changes: 4 additions & 0 deletions src/Convolotron.C
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,11 @@ Convolotron::setfile(int value)
length = 1;
rbuf[0] = 1.0f;
process_rbuf();
#ifdef LV2_SUPPORT
// FIXME
#else
global_error_number = 1;
#endif
return (0);
}

Expand Down
2 changes: 2 additions & 0 deletions src/FPreset.C
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@

#include "FPreset.h"

std::string global_user_directory = "";

FPreset::FPreset()
{
}
Expand Down
1 change: 0 additions & 1 deletion src/process.C
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
#include "process.h"

int global_error_number = 0;
std::string global_user_directory = "";
char *jack_client_name = (char*) "rakarrack-plus";

RKR::RKR(int gui) :
Expand Down

0 comments on commit 1b46d68

Please sign in to comment.