public static void RubberBandStretcher_SetPitchScale(IntPtr rbs, double scale) { if (IntPtr.Size == 8) { RubberBandNativeMethodsx64.RubberBandStretcher_SetPitchScale(rbs, scale); } else { RubberBandNativeMethodsWin32.RubberBandStretcher_SetPitchScale(rbs, scale); } }