Inheritance: ISoundFormat
示例#1
0
        bool ISoundLoader.TryParseSound(Stream stream, out ISoundFormat sound)
        {
            try
            {
                sound = new VocFormat(stream);
                return(true);
            }
            catch
            {
                // Not a (supported) WAV
            }

            sound = null;
            return(false);
        }
示例#2
0
        bool ISoundLoader.TryParseSound(Stream stream, out ISoundFormat sound)
        {
            try
            {
                sound = new VocFormat(stream);
                return true;
            }
            catch
            {
                // Not a (supported) WAV
            }

            sound = null;
            return false;
        }
示例#3
0
 public VocStream(VocFormat format)
 {
     this.format = format;
 }
示例#4
0
 public VocStream(VocFormat format)
 {
     this.format = format;
 }