fastjengine / FastJ

An open-source, Java-based 2D game engine.
https://fastj.tech
MIT License
82 stars 22 forks source link

[Feature Request]: Replace MemoryAudio entirely with StreamedAudio #95

Closed lucasstarsz closed 2 years ago

lucasstarsz commented 3 years ago

Origins of the Feature

MemoryAudio and StreamedAudio currently serve different purposes in audio.

In this situation, StreamedAudio has more pros than MemoryAudio and should be the chosen audio type to use.

The New Feature Idea(s)

I would like to replace MemoryAudio entirely, in favor of StreamedAudio. Being more memory-efficient, it is the most natural option to continue using.

This also means that StreamedAudio needs to support the following features:

Other than that, these tasks should also be completed:

Alternatives

No response

Code of Conduct

lucasstarsz commented 2 years ago

Currently, the audio system FastJ uses does not provide any proper solutions to completely replace MemoryAudio. Unless an alternative audio engine can be considered, this will be closed.