diff --git a/app/src/main/java/me/timschneeberger/rootlessjamesdsp/interop/JamesDspLocalEngine.kt b/app/src/main/java/me/timschneeberger/rootlessjamesdsp/interop/JamesDspLocalEngine.kt index d4a566acd..eadc2bd0e 100644 --- a/app/src/main/java/me/timschneeberger/rootlessjamesdsp/interop/JamesDspLocalEngine.kt +++ b/app/src/main/java/me/timschneeberger/rootlessjamesdsp/interop/JamesDspLocalEngine.kt @@ -29,12 +29,6 @@ class JamesDspLocalEngine(context: Context, callbacks: JamesDspWrapper.JamesDspC return input } - if(!JamesDspWrapper.isHandleValid(handle)) - { - Timber.e("Invalid handle") - return input - } - return JamesDspWrapper.processInt16(handle, input) } @@ -45,12 +39,6 @@ class JamesDspLocalEngine(context: Context, callbacks: JamesDspWrapper.JamesDspC return input } - if(!JamesDspWrapper.isHandleValid(handle)) - { - Timber.e("Invalid handle") - return input - } - return JamesDspWrapper.processInt32(handle, input) } @@ -61,12 +49,6 @@ class JamesDspLocalEngine(context: Context, callbacks: JamesDspWrapper.JamesDspC return input } - if(!JamesDspWrapper.isHandleValid(handle)) - { - Timber.e("Invalid handle") - return input - } - return JamesDspWrapper.processFloat(handle, input) }