Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Snowman screen saver playing 17 MIDI Christmas songs
#7
(12-17-2022, 03:06 PM)Dav Wrote: @Pete, thanks for trying it out!

@mnrvovrfc: Thanks for testing it in Linux.  Glad it works.

@SMcNeill:  Thanks!  Wow, what a speed increase adding that.  Less than a second and they all load and play fine.   I'm going to update the download with the edit code.

- Dav

Glad it worked as advertised for you!

Some info on "stream", as per our wiki: https://qb64phoenix.com/qb64wiki/index.php/SNDOPEN
  • The literal or variable STRING capabilities$ is optional but can be STREAM (version 3.1.0 and up). Anything else is ignored.
  • Specifying STREAM as a second parameter will "stream" the sound into memory rather than fully decoding it. This is good when we want to play long sounds as background music and want to avoid loading delays.
  • Short sounds should not be loaded using STREAM. Also, _MEMSOUND will not work for sounds loaded using STREAM.
Reply


Messages In This Thread
RE: Snowman screen saver playing 17 MIDI Christmas songs - by SMcNeill - 12-17-2022, 03:23 PM



Users browsing this thread: 1 Guest(s)