示例#1
0
    public void Cleanup()
    {
        isInitialized = false;

        if (pluginInterop != null)
        {
            pluginInterop.Dispose();
            pluginInterop = null;

            Url           = "";
            fileInfo      = new SVFFileInfo();
            openInfo      = new SVFOpenInfo();
            lastFrameInfo = new SVFFrameInfo();
        }
    }
示例#2
0
    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));
    }
示例#3
0
 private static extern bool InteropOpenHCapObject(int instanceId, string filePath, ref SVFOpenInfo openInfo);