gamercade-io / gamercade_console

A Neo-Retro Fantasy Console. Make WASM-powered, networked multiplayer games.
https://gamercade.io
Apache License 2.0
165 stars 10 forks source link

Audio Engine: Support playback for other formats #106

Open RobDavenport opened 2 months ago

RobDavenport commented 2 months ago

Currently, we only support .wav files which are huge and uncompressed.

We can probably leverage some crates like:

Symphonia - A variety of formats lewton - .ogg Vorbis claxon - .flac

To provide decoding for the formats.

Additionally, this also could help compact the game size if we could convert audio assets into a single kind, although not a priority now.

cycle-five commented 1 month ago

I'm possibly interested in working on this. I'd probably go the Symphonia route, since I'm familiar with it from working with songbird.