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