using System.IO;
using Microsoft.Xna.Framework.Audio;
namespace MLEM.Data.Content {
///
public class SoundEffectReader : RawContentReader {
///
protected override SoundEffect Read(RawContentManager manager, string assetPath, Stream stream, SoundEffect existing) {
return SoundEffect.FromStream(stream);
}
///
public override string[] GetFileExtensions() {
return new[] {"ogg", "wav", "mp3"};
}
}
}