Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Windos
win32.3rdparty
win32.directx.audio
win32.directx.ddk
win32.directx.graphics
win32.directx.input
win32.directx.managed
win32.directx.misc
win32.directx.networking
win32.directx.sdk
win32.directx.video
win32.dirx.grap.shaders
win32.gdi
win32.international
win32.kernel
win32.messaging
win32.mmedia
win32.networks
win32.ole
win32.rtc
win32.tapi
win32.tapi.beta
win32.tools
win32.ui
win32.wince
win32.wmi
windows.mediacenter
winfx.aero
winfx.announcements
winfx.avalon
winfx.collaboration
winfx.fundamentals
winfx.general
winfx.indigo
winfx.sdk
winfx.winfs
  
 
date: Tue, 1 Jul 2008 01:13:00 -0700,    group: microsoft.public.win32.programmer.directx.managed        back       


Making a managed wrapper around DirectSound.   
Hy there, I use .NET 2.0(C#) in my applcations and now I need the app to 
support playing multiple sounds at once. I tried to use the waveout API but 
it did not play that well, and it gave some errors on XP. I understand that 
that is an deprecated tehnology, so I want to switch to DirectSound.

My problem is that I can ask the clients who use the application to install 
DirectX. My old app(written in native C++), uses DirectSound (3,I think) and 
it works good.

Can anyone gime me some tips how to start this project? I imagine that using 
Managed DirectX is easy, but I suspect that MDirectX is not a wrapper over 
DirectSound3. 

I could really use some tips on this.Thanks very much.
-- 
Toma Catalin, Microsoft Student Partner
date: Tue, 1 Jul 2008 01:13:00 -0700   author:   Toma Catalin

Re: Making a managed wrapper around DirectSound.   
waveOut is actually not 'deprecated', it just generally limited in what it 
can do.

DirectSound is actually deprecated for game audio in favor of XACT or 
XAUDIO2, but it is still supported for appcompat reasons and due to 
dependancies for other technologies. DirectSound8 (DirectX 9.0c from Summer 
2004) is built into Windows XP as of Service Pack 2 and all subsequent 
versions of Windows. Therefore, you don't really have to worry about 
redisting the native DirectSound component unless you are supporting Windows 
XP RTM or Windows XP SP1.

Managed DirectX (MDX 1.1) is a simple wrapper for DirectDraw, Direct3D9, 
DirectSound, DirectInput, DirectMusic, and a greatly simplified usage of 
DirectShow via the AVP interface. MDX 1.1. has not been updated since April 
2005, and is itself depcreated. Again, for game usage there are new 
offerings like XNA Game Studio and the XNA assemblies. Both MDX 1.1 and XNA 
assemblies require some form of REDIST package to get them installed onto 
end-user machines, and both of these also make use of the native D3DX9 
component which itself must be REDISTed.

See DirectX Installation for Game Developers: 
http://msdn.microsoft.com/en-us/library/bb219742.aspx

-- 
-Chuck Walbourn
SDE, XNA Developer Connection

This posting is provided "AS IS" with no warrenties, and confers no rights.
"Toma Catalin"  wrote in message 
news:59106C59-EBD3-4063-90D0-FCE320125A54@microsoft.com...
> Hy there, I use .NET 2.0(C#) in my applcations and now I need the app to
> support playing multiple sounds at once. I tried to use the waveout API 
> but
> it did not play that well, and it gave some errors on XP. I understand 
> that
> that is an deprecated tehnology, so I want to switch to DirectSound.
>
> My problem is that I can ask the clients who use the application to 
> install
> DirectX. My old app(written in native C++), uses DirectSound (3,I think) 
> and
> it works good.
>
> Can anyone gime me some tips how to start this project? I imagine that 
> using
> Managed DirectX is easy, but I suspect that MDirectX is not a wrapper over
> DirectSound3.
>
> I could really use some tips on this.Thanks very much.
> -- 
> Toma Catalin, Microsoft Student Partner
date: Mon, 7 Jul 2008 12:11:09 -0700   author:   Chuck Walbourn [MSFT]

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us