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

Changing sound's filepath #54

Closed
epiqueras opened this issue Mar 30, 2017 · 5 comments
Closed

Changing sound's filepath #54

epiqueras opened this issue Mar 30, 2017 · 5 comments

Comments

@epiqueras
Copy link

Is it possible to change a sound's file path and have it load the new sound?

@JohnPaulHarold
Copy link
Contributor

JohnPaulHarold commented Mar 30, 2017

@epiqueras what's the use case stopping you from just creating a new Pz.Sound()?

@epiqueras
Copy link
Author

@JohnPaulHarold #53 , stops me from creating more sounds each time the file path changes, because eventually all sounds will stop.

@JohnPaulHarold
Copy link
Contributor

@epiqueras #53 alludes to a use case whereby you need a massive amount of concurrent sounds, each with presumably something different a-happening. This issue reads like a potentially different use case. Can you detail what you are trying to achieve.

@epiqueras
Copy link
Author

epiqueras commented Mar 31, 2017

@JohnPaulHarold
I worked around #53 by modifying the existing sounds instead of creating new ones every time a user changes the configuration. The only property I can't seem to change is the file path. I was wondering if there was a way to change it to avoid creating a new sound and possibly running into #53 after users change a sound's file path multiple times.

@alemangui
Copy link
Owner

This is not possible at the moment. If the workaround proposed in #53 does not fit your use case we can further discuss of the best way to have this feature in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants