c# MP3 Player, is there a dll, or decoder thats free

  • Thread starter Thread starter Tim Geiges
  • Start date Start date
T

Tim Geiges

I am learning c# and wrote a couple of little apps, and am trying to
learn to use dll's I got snmp.dll to work which was really cool, but I
think I want to play around and write a little MP3 player.

Is there a dll I can interface with for MP3 playback that is free?

and any basic code example would be very helpful. (I may be jumpping
too far ahead of myself, but I learn best by bigger challenges)

Thanks
Tim Geiges
 
Hi...

Not sure if the original postet wants to write thw whole MP3 player himself!
The easiest way to do what you are tryinh to do might be to interface with
the Windows Media Player. Since you are using C#, you must be on a Win32
platform. I beleive the Media Player ships on most current version of the
OS. If not, it's easily downloadable.

The Media Player is programatically accessible. From C#, you will probably
need to call native code to interact with the player - but learning to use
P/Invoke and COM Interop is probably less daunting than writing an MP3
decoder 8-).

Keep us posted on your progress ---
John Puopolo
 
Thank you for the info, I will most likely have to look at using WMP
before I build my own decoder, I love the challenge but I am not sure
starting completely from scratch is what I want to undertake, and
really what I am currently trying to teach myself is how it interface
with existing an dll, so I guess the WMP might be the way to go. I
just don't want it to be where I embed the WMP and call it done, but
still a great starting point, thanks for the info, Eventually I might
write my own decoder if I can learn this stuff well enough.

I am on Win32 using SharpDevelop, but I can also use Mono on Win32 or
Linux but I prefer the SharpDevelop IDE/Forms designer, I have not
tried the M$ studio either, not sure If I ever need to or not, with
such cool free tools, Think I'd rather donate to SharpDevelop, or
Mono(if they get windows forms).

Thanks again for the info I'll let you know how it goes.
 
Back
Top