diff --git a/app/src/main/assets/lv2/libir_cab.so/ir-cab-sim.json b/app/src/main/assets/lv2/libir_cab.so/ir-cab-sim.json new file mode 100644 index 00000000..3437045a --- /dev/null +++ b/app/src/main/assets/lv2/libir_cab.so/ir-cab-sim.json @@ -0,0 +1,20 @@ +{ + "-1": { + "Plugin": true, + "pluginName": "Simple IR Loader" + }, + "1": { + "AudioPort": true, + "InputPort": true, + "index": 0, + "name": "In", + "symbol": "input" + }, + "2": { + "AudioPort": true, + "OutputPort": true, + "index": 1, + "name": "Out", + "symbol": "output" + } +} \ No newline at end of file diff --git a/app/src/main/assets/lv2_plugins.json b/app/src/main/assets/lv2_plugins.json index d1b57efe..8d573091 100644 --- a/app/src/main/assets/lv2_plugins.json +++ b/app/src/main/assets/lv2_plugins.json @@ -1378,5 +1378,11 @@ "name": "x42 DARC", "index": 0, "library": "libdarc.so" + }, + "33700": { + "id": 8108, + "name": "Simple IR Loader", + "index": 0, + "library": "libir_cab.so" } } 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 93ff4949..58523561 100644 --- a/app/src/main/java/com/shajikhan/ladspa/amprack/DataAdapter.java +++ b/app/src/main/java/com/shajikhan/ladspa/amprack/DataAdapter.java @@ -644,8 +644,8 @@ public boolean onTouch(View v, MotionEvent event) { } Button fileChooser = null; - if (pluginName.equals("AIDA-X") || pluginName .equals( "Looper") || pluginName.equals("Neural Amp Modeler") || pluginName.equals("TAP IR")|| pluginName.equals("SWH Impulse convolver")) { - if (audioFiles.containsKey(position) && pluginName.equals("Looper") || pluginName.equals("SWH Impulse convolver")) { + if (pluginName.equals("AIDA-X") || pluginName .equals( "Looper") || pluginName.equals("Neural Amp Modeler") || pluginName.equals("TAP IR")|| pluginName.equals("SWH Impulse convolver") || pluginName.equals("Simple IR Loader")) { + if (audioFiles.containsKey(position) && pluginName.equals("Looper") || pluginName.equals("SWH Impulse convolver")|| pluginName.equals("Simple IR Loader")) { holder.audioFile = audioFiles.get(position); if (holder.audioFile != null) { AudioDecoder audioDecoder = new AudioDecoder(mainActivity); @@ -694,7 +694,7 @@ public boolean onTouch(View v, MotionEvent event) { @Override public void onClick(View v) { Intent intent_upload = new Intent(); - if (pluginName.equals("Looper")|| pluginName.equals("SWH Impulse convolver")) + if (pluginName.equals("Looper")|| pluginName.equals("SWH Impulse convolver")||pluginName.equals("Simple IR Loader")) intent_upload.setType("audio/*"); else { intent_upload.setType("application/zip"); diff --git a/app/src/main/jniLibs/arm64-v8a/libir_cab.so b/app/src/main/jniLibs/arm64-v8a/libir_cab.so new file mode 100755 index 00000000..3453ad83 Binary files /dev/null and b/app/src/main/jniLibs/arm64-v8a/libir_cab.so differ diff --git a/app/src/main/jniLibs/armeabi-v7a/libir_cab.so b/app/src/main/jniLibs/armeabi-v7a/libir_cab.so new file mode 100755 index 00000000..625f7a89 Binary files /dev/null and b/app/src/main/jniLibs/armeabi-v7a/libir_cab.so differ diff --git a/app/src/main/jniLibs/x86/libir_cab.so b/app/src/main/jniLibs/x86/libir_cab.so new file mode 100755 index 00000000..cde13b8b Binary files /dev/null and b/app/src/main/jniLibs/x86/libir_cab.so differ diff --git a/app/src/main/jniLibs/x86_64/libir_cab.so b/app/src/main/jniLibs/x86_64/libir_cab.so new file mode 100755 index 00000000..07520a1f Binary files /dev/null and b/app/src/main/jniLibs/x86_64/libir_cab.so differ diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 981cc145..20d1be89 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -507,6 +507,7 @@ libgnuitar-tubeamp.lv2.so libgnuitar-distort2-np.lv2.so libdarc.so + libir_cab.so Settings