public RESULT getFormat (out SOUND_TYPE type, out SOUND_FORMAT format, out int channels, out int bits) { return FMOD_Sound_GetFormat(rawPtr, out type, out format, out channels, out bits); } public RESULT getNumSubSounds (out int numsubsounds)
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 )); }