12-29-2022, 11:13 AM
Yes but it's tedious. For much longer than a minute and decent quality, even MP3 and OGG start to become too big to involve directly into an EXE file, which would have a high chance of becoming corrupt, refusing to run and/or being mistaken for a virus.
Sadly, using "_INFLATE$" and "_DEFLATE$" wouldn't save a lot of space from files already compressed, although it does make it easier to package audio files into a compiled program.
https://qb64phoenix.com/qb64wiki/index.php/INFLATE$
https://qb64phoenix.com/qb64wiki/index.php/DEFLATE$
Sadly, using "_INFLATE$" and "_DEFLATE$" wouldn't save a lot of space from files already compressed, although it does make it easier to package audio files into a compiled program.
https://qb64phoenix.com/qb64wiki/index.php/INFLATE$
https://qb64phoenix.com/qb64wiki/index.php/DEFLATE$