-
Play background wave sound and alert wave sound togather
I 'm writing the game. I want to play background with wave sound. when I click
some button in the form I can't play wave sound to alert when I click simultaneously.
Help me please.
-
Re: Play background wave sound and alert wave sound togather
The standard Wave Audio APIs in Windows are not able to play more than one
file at a time. You don't give any clue as to how you are playing sounds,
but your choices would probably be something like this:
Easy-
Use Midi for the BG sound and waves for alerts/effects
or
Buy/find a 3rd party wavemix dll or api of somekind
Harder-
Use DirectSound in your app. (drawback is dist size and finding good
examples for VB)
Hard-
Write your own wavemix support using "low level" APIs (not playsound).
Hope this helps,
Ray Mercer
www.shrinkwrapvb.com
"Chrit Nathan" <kritkul@yahoo.com> wrote in message
news:394f1731$1@news.devx.com...
>
> I 'm writing the game. I want to play background with wave sound. when I
click
> some button in the form I can't play wave sound to alert when I click
simultaneously.
> Help me please.
-
Re: Play background wave sound and alert wave sound togather
> Harder-
> Use DirectSound in your app. (drawback is dist size and finding good
> examples for VB)
The SDK has examples of this as far as I know, you can download a copy at
http://www.Microsoft.com/DirextX/
Hope this helps,
Mike
-
Re: Play background wave sound and alert wave sound togather
Mike,
I said *good* examples ;-)
Ray
> The SDK has examples of this as far as I know, you can download a copy at
> http://www.Microsoft.com/DirextX/
-
Re: Play background wave sound and alert wave sound togather
> I said *good* examples ;-)
Haha - Point taken 
Mike
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
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks