/// <summary> /// 枚举采集设备,结果由所注册回调返回。 /// </summary> /// <returns><c>true</c> 调用成功, <c>false</c> 调用失败</returns> public static bool GetCaptureDevices() { #if UNITY_EDITOR_OSX || UNITY_STANDALONE_OSX return(false); #else return(AudioNativeMethods.nim_audio_enum_capture_device()); #endif }
/// <summary> /// 枚举本地录音采集设备 /// </summary> /// <returns></returns> public static bool EnumCaptureDevices() { return(AudioNativeMethods.nim_audio_enum_capture_device()); }