示例#1
0
        public RESULT getFormat(ref SOUND_TYPE type, ref SOUND_FORMAT format, ref int channels, ref int bits)
        {
            RESULT result;

            if (VERSION.platform == Platform.X64)
            {
                result = Sound.FMOD_Sound_GetFormat_64(soundraw, ref type, ref format, ref channels, ref bits);
            }
            else
            {
                result = Sound.FMOD_Sound_GetFormat_32(soundraw, ref type, ref format, ref channels, ref bits);
            }
            return(result);
        }