sounds in game

This is a discussion on sounds in game within the Windows Programming forums, part of the Platform Specific Boards category; Hello, I am building an app. and would like it to produce multiple sounds at one moment. I need something ...

  1. #1
    Registered User
    Join Date
    Apr 2007
    Posts
    162

    sounds in game

    Hello,

    I am building an app. and would like it to produce multiple sounds at one moment. I need something instead of PlaySound(); which allows me to commence several sounds at once. Do I need for that DirectX or is there some other library or maybe a function in WinAPI?

    Thank you

  2. #2
    Banned master5001's Avatar
    Join Date
    Aug 2001
    Location
    Visalia, CA, USA
    Posts
    3,685
    Dude, check out this and perhaps even this.

  3. #3
    Registered User
    Join Date
    May 2007
    Posts
    41
    Do you need sounds that are in synch (for example for playng musical parts one on top of the others) or do you simply need to play various sound when you want? (consider for example sounds in a game...they don't have to be in synch)

  4. #4
    Registered User
    Join Date
    Apr 2007
    Posts
    162
    Quote Originally Posted by ZeroMemory View Post
    Do you need sounds that are in synch (for example for playng musical parts one on top of the others) or do you simply need to play various sound when you want? (consider for example sounds in a game...they don't have to be in synch)
    I just need random sounds like shooting, walking, grenade explosions and so on. Background sound is not needed

    To: master5001
    Thank you for links look quite useful

  5. #5
    Registered User
    Join Date
    Nov 2006
    Posts
    176
    Have you looked at DirectShow? You can have overlapped sound etc. with it....Pretty simple aswell

  6. #6
    Registered User
    Join Date
    Apr 2007
    Posts
    162
    I found out some information about MCI... Is there any change to play resource files with MCI or that does not work?

  7. #7
    Registered User
    Join Date
    Nov 2006
    Posts
    176
    mci is really old, use directshow

  8. #8
    Registered User
    Join Date
    May 2007
    Posts
    41
    or use BASS http://www.un4seen.com/ or FMOD http://www.fmod.org/ They are more audio oriented and fmod has built in DSP effects.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Open-source Game Project
    By Glorfindel in forum Projects and Job Recruitment
    Replies: 0
    Last Post: 03-24-2009, 01:12 AM
  2. Game Independent Anti-cheat Project Needs Programmers
    By GIA Project Lea in forum Projects and Job Recruitment
    Replies: 3
    Last Post: 09-15-2005, 07:41 PM
  3. HELP!wanting to make full screen game windowed
    By rented in forum Game Programming
    Replies: 3
    Last Post: 06-11-2004, 04:19 AM
  4. Game Programmer's AIM Circle: Join Today
    By KingZoolerius66 in forum A Brief History of Cprogramming.com
    Replies: 28
    Last Post: 12-20-2003, 11:12 AM
  5. Game Design Topic #1 - AI Behavior
    By TechWins in forum Game Programming
    Replies: 13
    Last Post: 10-11-2002, 10:35 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21