SoundTests PlaySoundRightAndPitched Method Delta Engine Documentation

Namespace: DeltaEngine.Multimedia.Tests
Assembly: DeltaEngine.Multimedia.Tests (in DeltaEngine.Multimedia.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public void PlaySoundRightAndPitched()
Examples

[Test]
public void PlaySoundRightAndPitched()
{
    var sound = ContentLoader.Load<Sound>("DefaultSound");
    var instance = sound.CreateSoundInstance();
    instance.Panning = 1.0f;
    instance.Pitch = 2.0f;
    instance.Play();
}
See Also