Hi Davy, Well, I understand what you are trying to do, but there are some major changes/differences between DirectSound and XAudio you might want to be aware of before blindly creating allot of wrappers that require allot of reworking in the future. To my knoledge XAudio doesn't offer a simple stereo pan control and uses full 3D positional buffers in games. Another consideration you might want to take note of is that IDirectSound8 has been depricated for a long time. You should be using the DirectX 9.0C com components. As of November 2007 IDirectSound8 no longer ships with the SDK and distribution package. Cheers.
Davy Kager wrote: > Hi, > > What I'm trying to build is an engine that has wrapper functions for all the > DirectSound functions. So a CreateBuffer() function and a SetPan() function > instead of using the methods from the IDirectSound8 interface. In that way, > if I wish to switch to XAudio2, I just have to change these wrappers and the > whole engine and any potential game sourcecode will still work fine. > Oh, just a quick note, I was talking about the COM-part of DirectX there... > > Cheers! > --- Gamers mailing list __ [email protected] If you want to leave the list, send E-mail to [EMAIL PROTECTED] You can make changes or update your subscription via the web, at http://audyssey.org/mailman/listinfo/gamers_audyssey.org. All messages are archived and can be searched and read at http://www.mail-archive.com/[EMAIL PROTECTED] If you have any questions or concerns regarding the management of the list, please send E-mail to [EMAIL PROTECTED]
