[Feature/Developer] Make AudioSources be able to play from prepared state or live when no preparation was done #54
Labels
developer-request
A request made as a developer
enhancement
Request for a new feature or improvement of something
Is your feature request related to a problem? Please describe.
Currently, AudioSources have to be prepared before ProvideAsync() works.
Describe the solution you'd like
Refactor the system so that Prepare() is optional.
If Prepare() was called, ProvideAsync() can use the prepared state.
Else, ProvideAsync() can do a just-in-time preparation.
In the implemented AudioSource, the same logic should be used for Prepare() the just-in-time-preparation.
Feature type
The text was updated successfully, but these errors were encountered: