Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
I need some help with getting simultaneous sounds to play and I can't make it work.
DISCLAIMER - I have made and make many threads for questions and even project posts across the Internet. Unfortunately, many are in limbo because I cannot remember where they are at. If anyone knows of an open thread or an unanswered inquiry, please PM me. Thank you.
Notice: Unless stated otherwise, I receive no compensation for anything I post here.
« Last Edit: December 09, 2009, 01:12 AM by CodeTRUCKER »
VB5 does not support multithreading. Visual Basic is an apartment threaded environment and to get even something close to multithreaded* would not be for the faint at heart.
* - You could create an ActiveX EXE which would run in its own process space but you would need to use some sort of callbacks if this will run async. This too may be too complex for ya.
Whether a computer can handle somthing or not is not the question. The question / answer is whether the development environment or devloper can handle it.
(does a computer play sounds ontop of each other? If I run Winamp and Media Player only one can play their sound at a time)
Alright, I have limitations I was not anticipating, but I have to do something. The user has to depend on hearing the sounds fast, sharp and clear. What would you suggest?
DISCLAIMER - I have made and make many threads for questions and even project posts across the Internet. Unfortunately, many are in limbo because I cannot remember where they are at. If anyone knows of an open thread or an unanswered inquiry, please PM me. Thank you.
Notice: Unless stated otherwise, I receive no compensation for anything I post here.
« Last Edit: December 09, 2009, 01:14 AM by CodeTRUCKER »
Ok... I'll see what I can do to match these shortcomings. Thanks for the help, though!
DISCLAIMER - I have made and make many threads for questions and even project posts across the Internet. Unfortunately, many are in limbo because I cannot remember where they are at. If anyone knows of an open thread or an unanswered inquiry, please PM me. Thank you.
Notice: Unless stated otherwise, I receive no compensation for anything I post here.
« Last Edit: December 09, 2009, 01:15 AM by CodeTRUCKER »
I think I know the answer to this Farmsteader, but I'm at home now and I have some old code at work that will do the trick if I remember correctly. Do you still want it? I can post it later tomorrow.
Regards, RuffNekk Programming is an art form that fights back.
Sure, anything I can get would be helpful. Thanks!
DISCLAIMER - I have made and make many threads for questions and even project posts across the Internet. Unfortunately, many are in limbo because I cannot remember where they are at. If anyone knows of an open thread or an unanswered inquiry, please PM me. Thank you.
Notice: Unless stated otherwise, I receive no compensation for anything I post here.
« Last Edit: December 09, 2009, 01:10 AM by CodeTRUCKER »
Shouldn't be necessary to do threading to have multiple sounds playing at once, anyway. Not sure if PlaySound (in async mode) will do it, but you should be able to use DirectSound from VB if all else fails...
Veign: which OS do you use? And which sound card? Ever since win2k, multiple apps have been able to do sound at once (and have windows/drivers mix it) for me