IMusicLoader Interface
Low-level music loading interface.
For most use cases, use
public interface IMusicLoader : System.IDisposable
Derived
↳ AudioService
↳ HeadlessAudioService
↳ IAudioService
Implements System.IDisposable
| Methods | |
|---|---|
| LoadMusicAsync(string, CancellationToken) | Loads music from a file. |
| UnloadMusic(IMusic) | Unloads music 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. |