Results 1 to 6 of 6

Thread: Playing multiple Wav files at once

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2000
    Posts
    3

    Post

    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!

  2. #2
    PowerPoster Fox's Avatar
    Join Date
    Jan 2000
    Location
    *afk*
    Posts
    2,088

    Post

    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.


  3. #3

    Thread Starter
    New Member
    Join Date
    Feb 2000
    Posts
    3

    Post

    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!

  4. #4
    New Member
    Join Date
    Feb 2000
    Posts
    12

    Post

    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

  5. #5
    New Member
    Join Date
    Feb 2000
    Posts
    12

    Post

    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

  6. #6

    Thread Starter
    New Member
    Join Date
    Feb 2000
    Posts
    3

    Post

    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
  •  



Click Here to Expand Forum to Full Width