Class AudioPlayer
Plays shared SoundAssets through an OpenAL device.
public sealed class AudioPlayer : IDisposable
- Inheritance
-
AudioPlayer
- Implements
- Inherited Members
Constructors
AudioPlayer()
public AudioPlayer()
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
Play(SoundAsset, bool, float)
public SoundPlayback Play(SoundAsset asset, bool loop = false, float volume = 1)
Parameters
assetSoundAssetloopboolvolumefloat