csharp
public static class MusicBuilderTurns a music asset into a player.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
The two things a file cannot hold, again: a clip, which is a chunk id until something loads it, and a bus, which is a name until there is a mixer. Problems are returned rather than thrown, because music is content — a level whose combat segment failed to load should still play its exploration loop while somebody works out why.
Methods (1)
public static MusicPlayer Build(AudioEngine engine, MusicAsset asset, out IReadOnlyList<string> problems)Builds a player from an asset.
Used by (1)
- MusicPlayerTestsVixen.Audio.Tests