Ejemplo n.º 1
0
        public RESULT getInfo(StringBuilder name, out uint version, out int channels, out int configwidth, out int configheight)
        {
            IntPtr intPtr = Marshal.AllocHGlobal(32);
            RESULT result = DSP.FMOD5_DSP_GetInfo(this.rawPtr, intPtr, out version, out channels, out configwidth, out configheight);

            StringMarshalHelper.NativeToBuilder(name, intPtr);
            Marshal.FreeHGlobal(intPtr);
            return(result);
        }