Jump to content
  • Advertisement
Sign in to follow this  
mav-eric-k

Multiple Audio Listeners for Split-Screen

This topic is 4013 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, I'm working on a small 3d game engine that supports multiplayer split-screen. The Graphics side of things was simple enough (use muliple cameras and viewports), but I can't figure out how to handle the audio. The Audio can be implemented in OpenAL, DirectSound, XACT etc... but I am not using FMOD do to the license issues. How does a typical split-screen game handle sounds being heard from 2 or more locations at the same time? Should I use the closest listener only? Should I find some kind of center point? Any help would be appreciated. Thanks.

Share this post


Link to post
Share on other sites
Advertisement
I've found that XACT supports multiple listeners. You pass a listener and an emitter object to a function that does the 3d calculations and mixing.

The problem is each sound can only be mixed once. So each player would have to have a separate copy of every sound.

There must be a better way to do this.

It's amazing how little information there is on creating 3d audio for a split-screen game.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!