problems with 3d sound using directmusic
- From: "hweemiin" <hweemiin@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 1 Sep 2005 03:26:03 -0700
[sound engine dll]
|
[platform exe]
|----[game1 dll]
|----[game2 dll]
|----.....
Above is the overall design of my current project, the platform can run
different game depend on user choice. The sound engine maintain a static
IDirectMusicPerformance and IDirectMusicLoader, and provides API to load and
play wave file with 3D positioning effect. Even though the platform can play
3d sound nicely, but the wave file loaded and played by game dll do not come
out correctly, it seem like the platform detect my speaker setup as 7.1
correctly, but the game dll detect my speaker setup as 2 speaker stereo.
Anyone know why is this happening?
Following is the program flow:
->platform initialize sound engine,
->platform load some wave files,
->platform load game dll,
->game dll load some wave files,
->platform play 3d sound (correctly),
->game dll play 3d sound (stereo only).
I'm using DirectX 9.0c.
.
- Follow-Ups:
- Re: problems with 3d sound using directmusic
- From: Chris P. [MVP]
- Re: problems with 3d sound using directmusic
- Prev by Date: Re: Capturing from 4 audio devices synchronised
- Next by Date: Re: Capturing from 4 audio devices synchronised
- Previous by thread: Re: Writing uncompressed audio with WM ASF Writer
- Next by thread: Re: problems with 3d sound using directmusic
- Index(es):
Relevant Pages
|