RogSyk (Wed Jan 25 2017 at 9:38 pm) QB64 Ver 1.1 sound Problem
I have been using QB64 ver 1.0, I thought I'd try to move up to ver 1.1. Well I ran into a bit of a snag. When playing a sound file(171 seconds long)The wav file will play, but, stops before the end of the file. It works great when I use the QB ver 1.0 Does the newer version of QB64 have a sound bug? Here's the program I used.
DIM PlayThis AS LONG
vol = .8
music$ = "MySong.wav"
COLOR 3: LOCATE 8, 8:
PRINT "CURRENTLY PLAYING ";: COLOR 2: PRINT music$
SOUND 0, 0
PlayThis = _SNDOPEN(music$, "sync,vol"):
IF PlayThis THEN _SNDPLAY PlayThis:
100 IF _SNDPLAYING(PlayThis) THEN GOTO 100
PRINT " Sound Complete"