public static int remove_environmental_noise(double[] data, int len, int sampling_rate, int noise_type) { switch (PlatformHelper.get_library_environment()) { case LibraryEnvironment.x64: return(DataHandlerLibrary64.remove_environmental_noise(data, len, sampling_rate, noise_type)); case LibraryEnvironment.x86: return(DataHandlerLibrary32.remove_environmental_noise(data, len, sampling_rate, noise_type)); case LibraryEnvironment.Linux: return(DataHandlerLibraryLinux.remove_environmental_noise(data, len, sampling_rate, noise_type)); case LibraryEnvironment.MacOS: return(DataHandlerLibraryMac.remove_environmental_noise(data, len, sampling_rate, noise_type)); } return((int)CustomExitCodes.GENERAL_ERROR); }