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
most systems use an array of urls and chose the one the browser supports at runtime. For example, I use different paths for different formats of sounds.
Yup, that's my assumption too. In my example above, if sounds/music.mp3 cannot be played, will use sounds/music.ogg. I wanted something that's not super verbose. Currently pixi sound only supports a single file.
Suggest using a glob-like API which allows you to set type for loading different audio files.
In this case, mp3 would be loaded highest-priority with fallback to ogg.
The text was updated successfully, but these errors were encountered: