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