problems with 3d sound using directmusic



[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.
.



Relevant Pages

  • Re: problems with 3d sound using directmusic
    ... > 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 ... but the wave file loaded and played by game dll do not come ...
    (microsoft.public.win32.programmer.directx.audio)
  • Re: Rise of Nations installation error
    ... Unable to find specific language .dll - unable to continue: ... on your hard disk to install the game. ... This behavior can also occur if the game CD is damaged. ... run the setup program directly from your Hard Drive. ...
    (microsoft.public.games)
  • Re: Better architecture for cross-platform project
    ... would simply be for a UI that leverages the shared DLL. ... Obviously each platform must have it's own main Form ... > multiple project files for the same set of source files, ... > Then I came up with an idea of creating an abstract class subclassing ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Installation Problem
    ... Unable to find specific language .dll - unable to continue: ... on your hard disk to install the game. ... This behavior can also occur if the game CD is damaged. ...
    (microsoft.public.windowsxp.games)
  • Re: C# 64-bit DLL?
    ... I do not utilize any new features in my DLL of 64-bit. ... Check your Project Build Properties, the default Platform target option is set to *AnyCpu*, which mean that your DLL will run as a 64 bit when loaded in a 64 bit process and as 32 bit when loaded in a 32 bit process. ... However, if you don't need the extended addressing capability AND you don't need to run on IA64, then you better set the Platform to "X86". ... your appplication runs as 32 bit on all Windows platforms. ...
    (microsoft.public.dotnet.languages.csharp)