bool ISoundLoader.TryParseSound(Stream stream, out ISoundFormat sound) { try { sound = new VocFormat(stream); return(true); } catch { // Not a (supported) WAV } sound = null; return(false); }
bool ISoundLoader.TryParseSound(Stream stream, out ISoundFormat sound) { try { sound = new VocFormat(stream); return true; } catch { // Not a (supported) WAV } sound = null; return false; }
public VocStream(VocFormat format) { this.format = format; }