public static void RubberBandStretcher_SetMaxProcessSize(IntPtr rbs, IntPtr samples) { if (IntPtr.Size == 8) { RubberBandNativeMethodsx64.RubberBandStretcher_SetMaxProcessSize(rbs, samples); } else { RubberBandNativeMethodsWin32.RubberBandStretcher_SetMaxProcessSize(rbs, samples); } }