Class AudioPlaybackEngine
Demo for fire and forget playback
public class AudioPlaybackEngine : IDisposable
- Inheritance
-
AudioPlaybackEngine
- Implements
- Inherited Members
Constructors
AudioPlaybackEngine(int, int)
Audio Playback Engine
public AudioPlaybackEngine(int sampleRate = 44100, int channelCount = 2)
Parameters
Methods
Dispose()
Disposes this instance
public void Dispose()
PlaySound(CachedSound)
Fire and forget playback of a cached sound
public void PlaySound(CachedSound sound)
Parameters
soundCachedSound
PlaySound(string)
Fire and forget playback of sound
public void PlaySound(string fileName)
Parameters
fileNamestring