示例#1
0
        public RESULT getLength(ref uint length, TIMEUNIT lengthtype)
        {
            RESULT result;

            if (VERSION.platform == Platform.X64)
            {
                result = Sound.FMOD_Sound_GetLength_64(soundraw, ref length, lengthtype);
            }
            else
            {
                result = Sound.FMOD_Sound_GetLength_32(soundraw, ref length, lengthtype);
            }
            return(result);
        }