Alex-MyRpg

Well this seems to be the one part of XNA that is severely lacking (except perhaps for 3D animation). While Managed DX was around, I used to simply use codecs for MP3 or OGG Vorbis to play music with AudioVideoPlayback. The problem now is that XACT only supports WAV/RIF, and only uncompressed WAV (not even MP3 encoded!). There are some libraries that use the old DirectSound DLLs to play MP3s or even OGG, but that's all being deprecated. So... what's the alternative using XNA to play music I'm sure you XNA developers must have thought about this during development. It's simply not feasible to have a 50~100MB WAV file for each song/music track in your game, and reducing the sampling rate really isn't a good alternative for high-quality music. Thanks for any advice.

Re: XNA Framework Music?

Mitch Walker - MSFT

Media playback is something that's on the list of things we're investigating for a future release.




Re: XNA Framework Music?

Alex-MyRpg

Good to know... what about video playback I've written my own nice little Animation class for soundless video playback, but proper full AVI/MPEG/WMV support would be super. I suppose I'll give DirectShow.NET a shot for the moment.




Re: XNA Framework Music?

Mike36

http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1292165&SiteID=1

Might be helpful. It's a stopgap measure until music is officially supported in XNA.





Re: XNA Framework Music?

Alex-MyRpg

Thanks... I was thinking of using MCI perhaps for the meanwhile, considering its simplicity of use. I believe it supports all DirectShow codecs that are installed.