public SoundInstance PlayLooped(SoundData sound, uint startSample, uint endSample, float volume = 1.0f) { throw new NotImplementedException(); }
public static SoundInstance Create(SoundData sound, float volume = 1.0f) { return(new SoundInstance(sound, volume)); }
public static SoundInstance CreateSlice(SoundData sound, uint startSample, uint endSample, float volume = 1.0f) { return(new SoundInstance(sound, startSample, endSample, volume)); }
private SoundInstance(SoundData sound, float volume = 1.0f) : this(sound, 0, 0, volume) { endPosition = (uint)sound.data.Length; }