|
-
Feb 18th, 2000, 03:42 AM
#1
Thread Starter
New Member
Hi,
Is there a way to play multiple wav files at once in VB5 WITHOUT having to use DX or an ActiveX control (maybe with the winmm.dll or sndPlaySound)?
I already have the ASprite control, but I don't really want to have to require DX on the system for it to have this functionality if at all possible.
Thanks for any help you can provide!
-
Feb 18th, 2000, 05:32 AM
#2
PowerPoster
Last time I tried to do this it worked with SndPlaySound. Here's my code:
-
sndPlaySound "C:\Test.wav", 1
-
------------------
[email protected]
...
Every program can be reduced to one instruction which doesn't work.
-
Feb 18th, 2000, 05:42 AM
#3
Thread Starter
New Member
Sorry, that didn't work. Here's my code based on what you just told me:
sndPlaySound "c:\...\sound1.wav", 1
sndPlaySound "c:\...\sound2.wav", 1
It only plays sound2.wav. Did I miss something here or do you have any other ideas? Thanks again!
-
Feb 18th, 2000, 09:49 AM
#4
New Member
Hello!!
Yes...there is a way... you need to get the
WAVMIX32.DLL
It's alot of code to hook it up, but it allows you to play 8 sounds at once!!
I'll see if I can scrounge up the demo I got for it...
Let me know where I can send it if you want it!
~Sam
-
Feb 18th, 2000, 10:08 AM
#5
New Member
Plantemess...
If you want to get a hold of me for the source... drop me a line at [email protected]
(..It takes me a while to check my mail.. )
~sam
-
Feb 18th, 2000, 01:13 PM
#6
Thread Starter
New Member
Hi Sam,
I found the file. Do you have any sample code and/or an API reference or know where I can get one?
Thanks!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|