diff --git a/app/src/main/assets/plugins.json b/app/src/main/assets/plugins.json index e2ea48fd..6953dcb1 100644 --- a/app/src/main/assets/plugins.json +++ b/app/src/main/assets/plugins.json @@ -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, diff --git a/app/src/main/cpp/SharedLibrary.h b/app/src/main/cpp/SharedLibrary.h index c71aa377..b21b6abf 100644 --- a/app/src/main/cpp/SharedLibrary.h +++ b/app/src/main/cpp/SharedLibrary.h @@ -78,7 +78,6 @@ class SharedLibrary { LV2Features features ; const LV2_Feature** feature_list; - int total_plugins = 0 ; void * dl_handle = NULL; unsigned long sampleRate ; diff --git a/app/src/main/java/com/shajikhan/ladspa/amprack/DataAdapter.java b/app/src/main/java/com/shajikhan/ladspa/amprack/DataAdapter.java index c3ea9a33..7ea9907a 100644 --- a/app/src/main/java/com/shajikhan/ladspa/amprack/DataAdapter.java +++ b/app/src/main/java/com/shajikhan/ladspa/amprack/DataAdapter.java @@ -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()); diff --git a/app/src/main/java/com/shajikhan/ladspa/amprack/MainActivity.java b/app/src/main/java/com/shajikhan/ladspa/amprack/MainActivity.java index fa7d8289..af4f85bd 100644 --- a/app/src/main/java/com/shajikhan/ladspa/amprack/MainActivity.java +++ b/app/src/main/java/com/shajikhan/ladspa/amprack/MainActivity.java @@ -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); diff --git a/app/src/main/jniLibs/arm64-v8a/liblooper.so b/app/src/main/jniLibs/arm64-v8a/liblooper.so index fade0df5..b901d655 100755 Binary files a/app/src/main/jniLibs/arm64-v8a/liblooper.so and b/app/src/main/jniLibs/arm64-v8a/liblooper.so differ diff --git a/app/src/main/jniLibs/armeabi-v7a/liblooper.so b/app/src/main/jniLibs/armeabi-v7a/liblooper.so index 444e5952..2de08a83 100755 Binary files a/app/src/main/jniLibs/armeabi-v7a/liblooper.so and b/app/src/main/jniLibs/armeabi-v7a/liblooper.so differ diff --git a/app/src/main/jniLibs/x86/liblooper.so b/app/src/main/jniLibs/x86/liblooper.so index 5326eba6..f0aaf312 100755 Binary files a/app/src/main/jniLibs/x86/liblooper.so and b/app/src/main/jniLibs/x86/liblooper.so differ diff --git a/app/src/main/jniLibs/x86_64/liblooper.so b/app/src/main/jniLibs/x86_64/liblooper.so index c6dadf16..eabaab9d 100755 Binary files a/app/src/main/jniLibs/x86_64/liblooper.so and b/app/src/main/jniLibs/x86_64/liblooper.so differ