Beispiel #1
0
        public void PlaySound(WaveFile wave, float volume, float pitch, float[] position, AudioPositionKind positionKind)
        {
            AudioBuffer buffer = GetAudioBuffer(wave);

            PlaySound(buffer, volume, pitch, position, positionKind);
        }
Beispiel #2
0
 public void PlaySound(WaveFile wave, float volume)
 {
     PlaySound(wave, volume, 1f);
 }
Beispiel #3
0
        public void PlaySound(WaveFile wave, float volume, float pitch)
        {
            AudioBuffer buffer = GetAudioBuffer(wave);

            PlaySound(buffer, volume, pitch, new float[3], AudioPositionKind.ListenerRelative);
        }
Beispiel #4
0
 public void PlaySound(WaveFile wave)
 {
     PlaySound(wave, 1.0f, 1.0f);
 }