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