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

Generate multiple source formats #3

Open
eliasku opened this issue Nov 10, 2017 · 0 comments
Open

Generate multiple source formats #3

eliasku opened this issue Nov 10, 2017 · 0 comments

Comments

@eliasku
Copy link

eliasku commented Nov 10, 2017

Original audiosprite tool generate all formats as source.

"resources": [
    "mygameaudio.caf",
    "mygameaudio.ac3",
    "mygameaudio.mp3",
    "mygameaudio.m4a",
    "mygameaudio.ogg"
  ],

waudsprite select last format and specifies it as src.
For better cross-browser support we need specify all generated sources with priority.
For example, I like to use ogg as primary, but fallback to others if not supported.
What do you think?

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

1 participant