-
-
Notifications
You must be signed in to change notification settings - Fork 97
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
Make the API for loading audio files at run-time uniform across formats #8055
Comments
Are you interested in making pr for this? I think making a new matching set of apis would help unify and allow the backwards compatibility change by marking as deprecated and then removing many versions later |
Should loading audio files work via
PS. I need audio files loading at runtime in my project. I can help with testing or making a patch. |
The |
Ok, so I'm confused again and I think I must be lucky with loading DDS by using ResourceLoader: |
Describe the project you are working on
Music Player
Describe the problem or limitation you are having in your project
In 4.x, it has ability to load audio on runtime, but it not uniformed.
MP3
OGG
WAV
Describe the feature / enhancement and how it helps to overcome the problem or limitation
uniform all api to static method
load_from_file(path)
.load_from_file
forAudioStreamMP3
load_from_file
forAudioStreamWAV
If possible, I wish all have
load_from_buffer
.(sometime I will get data from network)load_from_buffer
forAudioStreamMP3
load_from_buffer
forAudioStreamWAV
Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams
/
If this enhancement will not be used often, can it be worked around with a few lines of script?
/
Is there a reason why this should be core and not an add-on in the asset library?
It is should be core.
The text was updated successfully, but these errors were encountered: