You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When we create an AudioSource with using loadFile, loadMem, loadAssets, or loadUrl, we provide a unique path or key.
We can retrieve a collection of loaded AudioSources by calling soLoud.activeSounds, but we cannot fetch a specific AudioSource by its unique path or key.
I think it would be more convenient if we had a method that returns an AudioSource by its path or key, or if this information were added to the AudioSource class.
Currently, I have to maintain a map of path/key to soundHash in order to access a specific AudioSource.
Requirements
Checklist of requirements to be fulfilled
Additional Context
Add any other context or screenshots about the feature request go here.
The text was updated successfully, but these errors were encountered:
Description
When we create an AudioSource with using loadFile, loadMem, loadAssets, or loadUrl, we provide a unique path or key.
We can retrieve a collection of loaded AudioSources by calling soLoud.activeSounds, but we cannot fetch a specific AudioSource by its unique path or key.
I think it would be more convenient if we had a method that returns an AudioSource by its path or key, or if this information were added to the AudioSource class.
Currently, I have to maintain a map of path/key to soundHash in order to access a specific AudioSource.
Requirements
Additional Context
Add any other context or screenshots about the feature request go here.
The text was updated successfully, but these errors were encountered: