ISoundLoader Interface
Low-level sound effect loading interface.
For most use cases, use
public interface ISoundLoader : System.IDisposable
Derived
↳ AudioService
↳ HeadlessAudioService
↳ IAudioService
Implements System.IDisposable
| Methods | |
|---|---|
| LoadSoundAsync(string, CancellationToken) | Loads a sound effect from a file. |
| UnloadSound(ISoundEffect) | Unloads a sound effect and frees its resources. Implementations must be idempotent — calling this twice with the same instance must not throw or cause a double-free of native resources. |