Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature/Developer] Make AudioSources be able to play from prepared state or live when no preparation was done #54

Open
Kitt3120 opened this issue Aug 7, 2022 · 0 comments
Labels
developer-request A request made as a developer enhancement Request for a new feature or improvement of something

Comments

@Kitt3120
Copy link
Owner

Kitt3120 commented Aug 7, 2022

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

  • Something else
@Kitt3120 Kitt3120 added enhancement Request for a new feature or improvement of something developer-request A request made as a developer labels Aug 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
developer-request A request made as a developer enhancement Request for a new feature or improvement of something
Projects
None yet
Development

No branches or pull requests

1 participant