All Forums
 Microsoft Windows CE
 CE Audio and Multimedia
 Playing WAV files
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Author Topic  

KnowledgeBase

296 Posts

Posted - 26 Feb 2002 :  13:26:08  Show Profile  Email Poster
Q: Do I need Media Player to play WAV files?

No. All ADS builds have a built-in WAV file player. You can double-tap WAV files to play them, use the Sound applet in Control Panel or play them programmatically. The following code sample offers an illustration:

LPWSTR soundFile;
soundFile = _T("Exclam.WAV");
sndPlaySound (soundFile, SND_SYNC);


For further reading about Windows CE audio, please see the CE Audio topic index.

------------------
ADS Knowledge Base

dorgant

46 Posts

Posted - 06 Aug 2003 :  14:00:39  Show Profile  Email Poster
It looks like Media Player is hooked up on our system and we have the "ON-board CODEC with a tPhilips UCB1200 for a speaker output and microphone". But, I don't hear anything when I play a .wav file. In fact, I never hear any sounds.

I guess I need to hook up a speaker. I was wondering where I would hook it up and what kind of speaker I would use to do this.

Thanks,
Tom Dorgan.
Go to Top of Page

akidder

1519 Posts

Posted - 07 Aug 2003 :  15:05:49  Show Profile  Email Poster
Hi Tom. You should be able to hook up an 8 ohm speaker across the terminals of J16 on the Graphics Master and hear sounds played. A few more details about the speaker driver are in the GMaster user manual.
Go to Top of Page

dorgant

46 Posts

Posted - 01 Jul 2005 :  16:22:26  Show Profile  Email Poster
OK. That worked fine (2 years ago). Now, How can I get the same thing to work on the VGX? I think the manual talks about J10 but that sure looks like the PCMCIA slot...It also talks about L_SPKR and R_SPKR. Do I need a different speaker and different connectors.

Thanks in advance,
Tom.
Go to Top of Page

akidder

1519 Posts

Posted - 01 Jul 2005 :  18:17:34  Show Profile  Email Poster
Good catch on the VGX manual. Take a look at the correction we've posted on the VGX user manual page.
Go to Top of Page

janetjek

2 Posts

Posted - 26 Mar 2007 :  16:21:39  Show Profile
I found a very simple way to play WAV files under WinCE with C# or VB - see http://msdn2.microsoft.com/en-us/library/ms229685.aspx

(I used the C# code and it works great.)
Go to Top of Page
  Topic  
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Jump To:
Eurotech Support Forums © Eurotech Inc. Go To Top Of Page
This page was generated in 0.03 seconds. Snitz Forums 2000