I was searching on the wiki on how to initialize the SoundData from the byte string that represents the OGG file but could not find any information about it. I am looking for something like this (but for OGG byte string):
You can put the string into a FileData via the love.filesystem.newFileData variant which accepts a string + (fake) filename combination. The filename can be anything as long as it has .ogg extension at the end.
slime wrote: ↑Thu Aug 26, 2021 12:43 pm
You can put the string into a FileData via the love.filesystem.newFileData variant which accepts a string + (fake) filename combination. The filename can be anything as long as it has .ogg extension at the end.
OMG, it worked! Thank you very much, Slime! The solution is much more simple than i expected it to be.