IVoiceInjection.CreateSource method
Create an independent playback voice in the mixer. Returns null if the mixer is at capacity. Dispose it to remove it from the mixer (sources a plugin leaves open are auto-disposed on plugin teardown). Typically a plugin keeps one source for looped background audio and/or uses PlayOnce for one-shots. Main-thread only.
public IVoiceSource? CreateSource()See Also
Section titled “See Also”- interface IVoiceSource
- interface IVoiceInjection
- namespace Stellar.Abstractions.Services