Inheritance: ISoundFormat
Example #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);
        }
Example #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;
        }
Example #3
0
 public VocStream(VocFormat format)
 {
     this.format = format;
 }
Example #4
0
 public VocStream(VocFormat format)
 {
     this.format = format;
 }