getFormat() public method

public getFormat ( SOUND_TYPE &type, SOUND_FORMAT &format, int &channels, int &bits ) : RESULT
type SOUND_TYPE
format SOUND_FORMAT
channels int
bits int
return RESULT
示例#1
0
        public FormatInfo?GetFormat()
        {
            SOUND_TYPE   t;
            SOUND_FORMAT f;
            int          channels, bits;

            if (!_fmodSound.getFormat(out t, out f, out channels, out bits).Check(Suppressions()))
            {
                return(null);
            }

            return(new FormatInfo(
                       EquivalentEnum <SOUND_TYPE, SoundType> .Cast(t),
                       EquivalentEnum <SOUND_FORMAT, SoundFormat> .Cast(f),
                       channels, bits
                       ));
        }