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