public static IntPtr RubberBandStretcher_GetChannelCount(IntPtr rbs) { if (IntPtr.Size == 8) { return(RubberBandNativeMethodsx64.RubberBandStretcher_GetChannelCount(rbs)); } else { return(RubberBandNativeMethodsWin32.RubberBandStretcher_GetChannelCount(rbs)); } }