Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
End Users
Pocket PCActiveSyncMultimediaEBooksWirelessSmartPhones
Developers
Windows MobileSmartPhonesWinCE ProgrammingVB for WinCEVC++ for WinCEPlatform BuilderTest Tools
PocketPC DirectoryFree SoftwareWeb Resources
Related Topics
PalmMobile PhonesMore Topics ...

Pocket PC Forum / Developers / Windows Mobile / February 2007

Tip: Looking for answers? Try searching our database.

Playing MP3 files

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
DRG123 - 27 Feb 2007 12:14 GMT
I need to run MP3 & WMA files from my WINCE application .

I do not want to use Windows Media Player.

I have found out two ways:
1> Via DirectShow()

Here I have problem comes that file can not be rendered.
Which seems to mean that I need MP3 codec.
But, I do not know how to get one.How to use it.

2> Via Windows Media Player ActiveX Control.
But, I can not find the active X control(.ocx).

Please can anyone tell me from where & how to get the solution?
Amit - 27 Feb 2007 12:33 GMT
Hi,

As for using directshow your device must have mp3 decoder as directshow
filter.Verify if your device has that.
As for using WMP control...check out this article:
http://www.codeguru.com/cpp/w-p/ce/pocketpc/article.php/c10817/

Hope it helps..
Signature

Thanks and Regards
Amit Ranjan
blog:http://amitranjan.wordpress.com

> I need to run MP3 & WMA files from my WINCE application .
>
[quoted text clipped - 11 lines]
>
> Please can anyone tell me from where & how to get the solution?
DRG123 - 27 Feb 2007 13:23 GMT
> Hi,
>
[quoted text clipped - 25 lines]
>
> - Show quoted text -

Thanks for response,

First of all I do not know how to verify that my device has the
required(MP3 codec) or not.
But I guess it should have it because 1> I can play MP3 files via
WMplayer in this device which means that this device can play such
file and anyways WMPlayer also does the task by DirectShow(). 2> I
have tried to use the code on PDA2K and Windows Mobile 5

For the WMP control sample,

I can not run the given exe directly on my device as I am getting
error that component is missing.
I can not find the required ocx file so even i can not create such an
sample application. I have downloaded all references from that WMP
sample.

Any Help?????
Amit - 27 Feb 2007 14:23 GMT
Hi,

It's not guarenteed that if Windows Media Player is playing the file then it
must be using DirectShow filter.
Do you have Windows Media Player present on the device?
Can you show some code sample on how you are trying to use the ocx.
Check this msdn article:
http://msdn2.microsoft.com/en-us/library/bb262335.aspx

Hope it helps.
Signature

Thanks and Regards
Amit Ranjan
blog:http://amitranjan.wordpress.com

> > Hi,
> >
[quoted text clipped - 44 lines]
>
> Any Help?????
DRG123 - 28 Feb 2007 12:17 GMT
> Hi,
>
[quoted text clipped - 60 lines]
>
> - Show quoted text -

Hi,

I have gone through registry but I did not found any MP3 codec.

I do not know how to confirm that my device has MP3 codec.

One more thing I would like to tell that I can Play "Windows Media
Player" normally on my device(PDA2K).

But at the same time, the example that u given in link do not work
either on device or on emulator of it or even on emulator of Windows
Mobile 5.0.

I hope I am clear with it.

As far as ocx files/Active X  components are concerned, I would like
to tell that I have never done ActiveX Programming before but I was
hoping to go through with the sample with "Windows Media Player SDK
10".
But, While Creating the ActiveX code, as per guideline, I should have
found out the ocx file (ActiveX control) in

"On the Project menu, point to Add To Project, then click Components
and Controls. This displays the Components and Controls Gallery dialog
box and places you in the Gallery folder.

Open the Registered ActiveX Controls folder, select Windows Media
Player, and insert it into the project."

But unfortunately I can not find any ocx file in that(Registered
ActiveX Controls) folder.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2010 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.