1. continuous sound in win32lib
- Posted by Jerry Story <jstory at edmc.net> Oct 06, 2003
- 354 views
How can I make continuous sound with win32lib? For example, music for a game. I can use playSound(wave file) but but how can I get it to play continuously while other things are happening? Jerry Story
2. Re: continuous sound in win32lib
- Posted by Wolf <wolfritz at KING.IGS.NET> Oct 06, 2003
- 365 views
...have you tried the SND_LOOP, and SND_ASYNC flags ? ( 8, and 1 ) To stop, call playSound() with a null file-name... If you're using win32lib, you'll have to 'wrap' your own call to xPlaySound(), to change it's 'default' flag, I'd guess. ...or look at my Nagdemo 'antique' in the archives, if it still works: ?
3. Re: continuous sound in win32lib
- Posted by Derek Parnell <ddparnell at bigpond.com> Oct 12, 2003
- 352 views
----- Original Message ----- From: "Jerry Story" <jstory at edmc.net> To: "EUforum" <EUforum at topica.com> Subject: RE: continuous sound in win32lib > > > Wolf wrote: > > > > > > ...have you tried the SND_LOOP, and SND_ASYNC flags ? > > ( 8, and 1 ) > > To stop, call playSound() with a null file-name... > > If you're using win32lib, you'll have to 'wrap' your own call to > > xPlaySound(), to change it's 'default' flag, I'd guess. This is true. I'll enhance that routine and post an updated version. > > ...or look at my Nagdemo 'antique' in the archives, if it still works: ? > > 1. What, who are those SND_LOOP and SND_ASYNC flags? ...with all the flags... -- Derek