   MDX Dec 2005 - AudioVideoPlayback
  Has anyone else noticed that the AudioVideoPlayback namespace is gone from the MDX Dec release? I'm trying to port an existing codebase that uses this. Should I be using the XAct namespace and the Cue object as if I was using the Audio object from the AudioVideoPlayback? Let me know what you think... I'm fairly new to MDX so I'm just getting familiar with the namespaces so be gentle.   
  AudioVideoPlayback has been bugged since the first release, but I haven't found any alternatives for MDX yet :(   ;  You can use DirectSound for playing music and sound, but it's indeed a bit harder to work with. Still, for sound effects (and especially 3D ones) is has a lot of advantages to offer over the Audio class. Alternatively, you can add a reference to the Microsoft.DirectX.AudioVideoPlayback DLL of the October SDK (or any other release, if you want). This way you can still use it in your project and if you select Copy Local from the references properties, Visual Studio will copy the DLL to your output dir automagically, so you'll always have it sticking around with your binaries.That said, I'm fairly new to MDX too (isn't everyone? :) and I am somewhat disappointed by the way Microsoft seems to be handling MDX as of late. Aside from the samples and documentation that seem to be perpetually lagging behind, I cannot understand why the complete removal of the AudioVideoPlayback namespace wasn't announced better (the August October docs didn't even deprecate it).Don't get me wrong, I love MDX and I moved from Java to C# largely because of it. Anyway, I still have to install the Dec2005 update, but with the effort of rewriting the API to .NET 2.0 and numerous other changes, you'd think that a little time could be spared to point us in the right direction on removed namespaces. Especially ones that are still advertised in every book to date and even on MSDN, which only seems to be updated to the Aug2005 release...So... Isn't there some way the AVPlayBack source can be released to the MDX community? *ducks* :)   ;  As FoxHunter said, The AudioVideoPlayback DLL has been bugged since day one.  At the moment there is no *official* dll to replace it. I recommend making your own DirectShow audio player using DirectShow .NET.  It's pretty easy to do, my implentation didn't take that much work and is only about 400 lines of code.  Also, you can make a proper render to texture function for videos. [wink]   ;  DirectShow.NET looks good too, thanks for posting the link :)I took a quick look at it just now (with my sleepy head mind you) and though it looks promising, it does seem to lack the level of abstraction -and hence, easy of use- the AudioVideoPlayBack had to offer. I still need to take a closer look, but it would have been great if they'd written some C# wrapper classes around the ported interfaces to facilitate using them, preferrable with some documentation.Is there a project already underway to do this? If not, I think I'm gonna look into this.   ;  This are good tutorials and I have used this code to do video within direct3d. That worked better than the directshow.NET version because that contained glitches. http://www.codeproject.com/cs/media/PrgmngDirectShowappsCS.aspGreetz,Johan Reitsma   