Is SOUND synchronous or asynchronous ?
#3
(11-27-2022, 02:54 AM)CharlieJV Wrote: I'm having a devil of a time getting that straight in my head.

SOUND
waits for the duration of the sound, so it's synchronous. Note however that if you use
PLAY "MB"
at some point to play sounds in the background that also impacts
SOUND
commands, so it's possible to have them play in the background (potentially by accident). That behavior was recently fixed in QB64-PE v3.2.0, so if you use a version older than that
SOUND
won't respect the
PLAY "MB"
setting and will always wait for the sound to finish.
Reply


Messages In This Thread
RE: Is SOUND synchronous or asynchronous ? - by DSMan195276 - 11-27-2022, 07:26 AM



Users browsing this thread: 1 Guest(s)