FMOD_Studio_System_GetBus() private method

private FMOD_Studio_System_GetBus ( IntPtr studiosystem, byte path, IntPtr &bus ) : RESULT
studiosystem System.IntPtr
path byte
bus System.IntPtr
return RESULT
Exemplo n.º 1
0
        public RESULT getBus(string path, out Bus bus)
        {
            bus = null;
            IntPtr raw    = 0;
            RESULT rESULT = System.FMOD_Studio_System_GetBus(this.rawPtr, Encoding.UTF8.GetBytes(path + '\0'), out raw);

            if (rESULT != RESULT.OK)
            {
                return(rESULT);
            }
            bus = new Bus(raw);
            return(rESULT);
        }