You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@diogomsmiranda@Dageus this isn't implemented yet. Streaming sound assets means not loading the entire sound asset at once, and instead, fetch one block at a time. This is important for stuff like music so that you don't waste memory just to keep around 10 mins of music, for example.
we would need to add a flag to the ma_sound_init_from_file: ma_sound_init_from_file(&engine, "my_sound.wav", MA_SOUND_FLAG_STREAM, pGroup, NULL, &sound);
The amount of data loaded into memory is 2 seconds by default.
It isn't that simple sadly because we should use our filesystem abstraction instead of accessing the real filesystem directly as miniaudio does. The music file might be inside a .zip, or even embedded in the executable binary itself
RiscadoA
added
the
P-Normal
This issue isn't a big priority, but it would still be nice to have it closed soon
label
Dec 16, 2024
Sound assets should be optionally streamable so that we can play music.
The text was updated successfully, but these errors were encountered: