public void Cleanup() { isInitialized = false; if (pluginInterop != null) { pluginInterop.Dispose(); pluginInterop = null; Url = ""; fileInfo = new SVFFileInfo(); openInfo = new SVFOpenInfo(); lastFrameInfo = new SVFFrameInfo(); } }
public bool OpenHCapObject(string filePath, ref SVFOpenInfo openInfo) { if (s_logstack) { logger.Log("[INTEROP]OpenHCapObject"); } if (!string.IsNullOrEmpty(openInfo.AudioDeviceId)) { Debug.Log(string.Format("Audio device: {0} requested", openInfo.AudioDeviceId)); } if (instanceId == InvalidID) { return(false); } return(InteropOpenHCapObject(instanceId, filePath, ref openInfo)); }
private static extern bool InteropOpenHCapObject(int instanceId, string filePath, ref SVFOpenInfo openInfo);