Skip to content

Commit

Permalink
looper
Browse files Browse the repository at this point in the history
  • Loading branch information
Shaji Khan committed Feb 20, 2024
1 parent 38bdb90 commit 5f41347
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/src/main/assets/plugins.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"Show All": [],
"Featured": [
8095, 8018, 5029, 5005, 5013, 5008
8100, 8095, 8018, 5029, 5005, 5013, 5008
],
"Popular": [
8095,8094,8067,7027, 5006, 6007, 8096
],
"New": [
8017,8018,8019,8020,8021,8022,8023,8024,8025,8026,8027,8028,8029,8030,8031,
8100, 8017,8018,8019,8020,8021,8022,8023,8024,8025,8026,8027,8028,8029,8030,8031,
8032,8033,8034,8035,8036,8037,8038,8039,8040,8041,8042,8043,8044,8045,8046,
8047,8048,8049,8050,8051,8052,8053,8054,8055,8056,8057,8058,8059,8060,8061,
8062,8063,8064,8065,8066,8067,8068,8069,8070,8071,8072,8073,8074,8075,8076,
Expand Down
1 change: 0 additions & 1 deletion app/src/main/cpp/SharedLibrary.h
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ class SharedLibrary {

LV2Features features ;
const LV2_Feature** feature_list;

int total_plugins = 0 ;
void * dl_handle = NULL;
unsigned long sampleRate ;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,12 @@ public void onCheckedChanged(CompoundButton compoundButton, boolean b) {
});

String pluginName = AudioEngine.getActivePluginName(position) ;
if (pluginName == null) {
Log.e(TAG, "onBindViewHolder: plugin name returned null, what are we even doing?", null);
// notifyItemRemoved(position);
return;
}

holder.getTextView().setText(pluginName);
if (mainActivity.useTheme)
mainActivity.skinEngine.cardText(holder.getTextView());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1966,10 +1966,10 @@ void loadActivePreset() {
return;
}


SharedPreferences sharedPreferences = getPreferences(MODE_PRIVATE);
String preset = sharedPreferences.getString("activePreset", null);
AudioEngine.toggleMixer(sharedPreferences.getBoolean("toggleMixer", true));
Log.i(TAG, "loadActivePreset: loading preset:\n" + preset);

if (preset != null) {
Log.d(TAG, "loadActivePreset: " + preset);
Expand Down
Binary file modified app/src/main/jniLibs/arm64-v8a/liblooper.so
Binary file not shown.
Binary file modified app/src/main/jniLibs/armeabi-v7a/liblooper.so
Binary file not shown.
Binary file modified app/src/main/jniLibs/x86/liblooper.so
Binary file not shown.
Binary file modified app/src/main/jniLibs/x86_64/liblooper.so
Binary file not shown.

0 comments on commit 5f41347

Please sign in to comment.