Playing mp3 files on ce 4.2 devices

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi there,

is it possible to use any version of mediaplayer
(wmp.dll) to give ce 4.2 devices the ability to not
only play .wav files (through p/invoke coredll.dll)
but also .mp3 files?

Are there third-party components/dll's which can
be used from within managed (c#) code?

Kind regards,
Sascha
 
WMP doesn't have MP3 support. There are plenty of open source MP3 libraries
that could be ported to CE, but I'm not aware of anything that easily
interops with C#.

-Chris
 
Hello Chris,

i might be wrong, but i am using wmp.dll as a reference in one of
my mobile 5 projects and it plays .mp3 files like a charm. Maybe the
wmp instance uses certain codecs preinstalled on the device?

Kind Regards,
Sascha
 
I was wrong - it supports MP3. You can host the WMP COM control in your app
to play the MP3. Alex Feinman has awebcast on MSDN that covers this

-Chris
 
Hello Chris,

thanks for verifying this - do you know if it will work on
CE 4.2 devices aswell (no built in wmp) ?

Kind Regards,
Sascha
 
To clarify a bit:
On a CE platform (not Windows Mobile) there is a player version 6.4 that
does not have an ocx control. On WM 2003 SE *some devices* have WMP10, which
does have OCX. On a bulk of WM2003 device including many 2003SE there is
WMP9 that does not have OCX. On these you can only launch WMP to play your
file or in some cases you can build a directshow graph (if the appropriate
components are present)
 
Back
Top