Skip to content

Commit

Permalink
refactor: Remove obsolete pointer checks
Browse files Browse the repository at this point in the history
  • Loading branch information
timschneeb committed Oct 29, 2022
1 parent 1b1c04c commit e47ec6a
Showing 1 changed file with 0 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand All @@ -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)
}

Expand All @@ -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)
}

Expand Down

0 comments on commit e47ec6a

Please sign in to comment.