Hacker News new | ask | show | jobs
by campnic 4782 days ago
I would say that including two audio assets for the same sound seems like a code smell.
1 comments

Perhaps an MP3 => OGG JavaScript converter is in order.
Transcoding is not a computationally cheap endeavor…
Well, since we are talking about a demo/proof of concept it could be interesting to try.
In case it slipped right past your nose, the previous comments were a play-on-words in reference to the library.
I think he meant to say an MP3 => OGG JavaScript converter is an odor.
It didn't, but I was wondering about the actual technical aspect of using a single asset type and a codec as a shiv.