Re: PlaySound function not work
- From: "Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT com>
- Date: Thu, 22 May 2008 08:54:32 -0700
You say, "But it works fine if we use media player to play wav files." Have
you tried playing THAT SPECIFIC file using Media Player? You might also try
playing one or more of the .WAV files found in the \windows folder using
PlaySound(). Could be that this particular file is in a format that CE
doesn't understand; that's my first guess.
Paul T.
"Victor Lai" <VictorLai@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:3808B4F2-CFE0-4E4D-979A-5598CD1DCDF9@xxxxxxxxxxxxxxxx
Hi,
Our system is Windows CE 5.0 + PXA270.
We found the Playsound API does not work on our system. We use standard
mainstone BSP. But it works fine if we use media player to play wav files.
PlaySound(_T("\\1.wav"), NULL, SND_FILENAME);
1. What could go wrong in this scenario?
2. What's the difference of using PlaySound API and play wav file using
media player on the kernel/driver point of view?
Thanks
.
- Prev by Date: Re: WinCE support for Neon instruction set
- Next by Date: waveIn fails after overrun on CE 5.0
- Previous by thread: VirtualProtect
- Next by thread: waveIn fails after overrun on CE 5.0
- Index(es):
Relevant Pages
|
|