コード例 #1
0
ファイル: AudioEngine.cs プロジェクト: xxami/Pulsus
 public SoundInstance PlayLooped(SoundData sound, uint startSample, uint endSample, float volume = 1.0f)
 {
     throw new NotImplementedException();
 }
コード例 #2
0
ファイル: SoundInstance.cs プロジェクト: xxami/Pulsus
 public static SoundInstance Create(SoundData sound, float volume = 1.0f)
 {
     return(new SoundInstance(sound, volume));
 }
コード例 #3
0
ファイル: SoundInstance.cs プロジェクト: xxami/Pulsus
 public static SoundInstance CreateSlice(SoundData sound, uint startSample, uint endSample, float volume = 1.0f)
 {
     return(new SoundInstance(sound, startSample, endSample, volume));
 }
コード例 #4
0
ファイル: SoundInstance.cs プロジェクト: xxami/Pulsus
 private SoundInstance(SoundData sound, float volume = 1.0f)
     : this(sound, 0, 0, volume)
 {
     endPosition = (uint)sound.data.Length;
 }