I used in my project "AudioRecord" and my record is saved in Float[] array and I want to use this package to process my audio I want to downsample my signal
so I used Resample class and I used process function inside this class but the type of inputBuffer and outputBuffer parameters for this function is FloatBuffer and my array type is float[] so I warp it as (FloatBuffer.warp(my array)) but the process return false, dose the warp method that I used is correct or not? please any help
I used in my project "AudioRecord" and my record is saved in Float[] array and I want to use this package to process my audio I want to downsample my signal so I used Resample class and I used process function inside this class but the type of inputBuffer and outputBuffer parameters for this function is FloatBuffer and my array type is float[] so I warp it as (FloatBuffer.warp(my array)) but the process return false, dose the warp method that I used is correct or not? please any help