bool ISoundLoader.TryParseSound(Stream stream, out ISoundFormat sound) { try { if (IsAud(stream)) { sound = new AudFormat(stream); return(true); } } catch { // Not a supported AUD } sound = null; return(false); }
bool ISoundLoader.TryParseSound(Stream stream, out ISoundFormat sound) { try { if (IsAud(stream)) { sound = new AudFormat(stream); return true; } } catch { // Not a supported AUD } sound = null; return false; }