oh? dsbstatus_playing is the one i use. regards,
damien ----- Original Message ----- From: "Ken the Crazy" <[EMAIL PROTECTED]> To: "Gamers Discussion list" <[email protected]> Sent: Monday, March 05, 2007 3:34 AM Subject: Re: [Audyssey] quick vb6 coding question > Actually, there is a way to see if a file is playing. Here is the > sequence. > I feel dumb because I asked about it on list and it's right there in my > enemy attack game. > Do While dsStartup.GetStatus = DSCBSTATUS_CAPTURING > DoEvents > Loop > > Ken Downey > President > DreamTechInteractive! > > And, > Coming soon, > Blind Comfort! > The pleasant way to get a massage--no staring, just caring. > > ----- Original Message ----- > From: "Azabat Software (Steve Crawford)" <[EMAIL PROTECTED]> > To: "Ken the Crazy" <[EMAIL PROTECTED]>; "Gamers Discussion list" > <[email protected]> > Sent: Friday, March 02, 2007 6:17 PM > Subject: Re: [Audyssey] quick vb6 coding question > > >> Well, there's at least 3 different answers depending on your approach. >> There's the whole DirectX approach using DirectSound, or you can use an >> ActiveX multimedia control or you can use the Windows API. I used a >> multimedia control in the early days but had some compatibility problems >> and >> on some systems there were huge delays between playing the WAV files >> which >> made the games unusable. I now use the API because it works on anything >> and >> doesn't give hassles but the problem I have with it is that you issue a >> command to play a WAV file but you can't check the status to see if it's >> finished. Consequently, I have to use the sync and async flags - sync >> means >> play the WAV before you process the next command and async carries on. >> So, >> if the score is made of several WAV files I'd have to play all but the >> last >> one in sync mode, which means the computer isn't doing anything else - >> like >> processing the keyboard - while the score is being announced. >> >> Azabat Software >> Computer Games for Blind and Partially Sighted Beginners >> Tel: 07740 777 364 >> Email: [EMAIL PROTECTED] >> Web: www.azabat.co.uk >> >> >> -----Original Message----- >> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] >> Behalf Of Ken the Crazy >> Sent: 02 March 2007 10:20 >> To: Gamers Discussion list >> Subject: [Audyssey] quick vb6 coding question >> >> >> Hey yall, >> Could anyone point me in the right direction as to how to code the >> speaking >> of a player's score using wave files? I know, of course, how to set up >> the >> files, just not how or when to play them, or how to cue them so they >> don't >> play all at once. also, how do you check to see if a sound is playing? >> >> Ken Downey >> President >> DreamTechInteractive! >> >> And, >> Coming soon, >> Blind Comfort! >> The pleasant way to get a massage--no staring, just caring. >> _______________________________________________ >> Gamers mailing list .. [email protected] >> To unsubscribe send E-mail to [EMAIL PROTECTED] You can >> visit >> http://audyssey.org/mailman/listinfo/gamers_audyssey.org to make >> any subscription changes via the web. >> >> __________ NOD32 2088 (20070302) Information __________ >> >> This message was checked by NOD32 antivirus system. >> http://www.eset.com >> >> >> >> _______________________________________________ >> Gamers mailing list .. [email protected] >> To unsubscribe send E-mail to [EMAIL PROTECTED] You can >> visit >> http://audyssey.org/mailman/listinfo/gamers_audyssey.org to make >> any subscription changes via the web. >> >> >> -- >> No virus found in this incoming message. >> Checked by AVG Free Edition. >> Version: 7.1.413 / Virus Database: 268.18.6/709 - Release Date: 3/3/2007 >> >> > > > _______________________________________________ > Gamers mailing list .. [email protected] > To unsubscribe send E-mail to [EMAIL PROTECTED] You can > visit > http://audyssey.org/mailman/listinfo/gamers_audyssey.org to make > any subscription changes via the web. _______________________________________________ Gamers mailing list .. [email protected] To unsubscribe send E-mail to [EMAIL PROTECTED] You can visit http://audyssey.org/mailman/listinfo/gamers_audyssey.org to make any subscription changes via the web.
