tesselode / kira

Library for expressive game audio.
https://crates.io/crates/kira
Apache License 2.0
837 stars 42 forks source link

`kira-loaders` does not support loading files from memory #19

Closed simast closed 2 years ago

simast commented 2 years ago

The old (0.5) implementation had support for loading files directly from memory (from_ogg_reader etc) instead of file paths. Could we have the same feature in the new version as well?

This would support things like loading sound files from archives, virtual filesystems or network.

tesselode commented 2 years ago

Symphonia can only load audio from Files or Cursors - would load_from_cursor/stream_from_cursor functions be useful?

simast commented 2 years ago

At least for my case Cursor's would work just fine.

tesselode commented 2 years ago

Added in v0.1.0-beta-1.