mp3 player

I'm planing to make an mp3 player for the windows version of xna using lame or wmp(or if someone noes better ). just before i start what do you think the best method would be Do you think they will even work


Answer this question

mp3 player

  • John Lovrinic

    You can do it via .dll's or for Windows within your own written project.

    http://lame.sourceforge.net/license.txt

  • cristi_bd

    Unfortunately, XNA itself doesnt support any way of playing files other than those prebuilt using xact. You cant directly modify buffers or anything like that so using XNA for sound is probably completely out. You could use some 3rd party sound util (or DirectSound), but your not touching XNA with it. Also youd lose the ability to easily port to the 360 in future (which may or may not be an issue for you).


    You can however use XNA for some nice visualisations, and to make the 360 controller rumble to the beat, and other cool stuff. You'll just have to foregoe it for actually playing anything back. That should be a pretty smple task, but depends on how you want to do it - regular WinControls with a visualisation window (ie not using the Game class), or a full XNA UI, in which case you'll need to code up all the UI Widgets you need too.

    Neil



  • mp3 player