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