Re: Pause the MP3,MP4 before system suspend
- From: "Doug Cook [MSFT]" <dcook@xxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 28 Feb 2007 21:59:18 -0800
I'm not an expert on this, but I think the best solution would be to fix the audio driver to stop playback when the system suspends.
The audio driver is notified of power events via PDD_AudioPowerHandler. Some drivers do not handle this call and the result is the noise. The driver should suspend the audio device when this function is called with a TRUE parameter, and should re-enable the audio device when the function is called with a FALSE parameter.
--
// StdDisclaimer.h
// This posting is provided "AS IS" with no warranties, and confers no rights.
//
"JackChen" <s.rndev@xxxxxxxxx> wrote in message news:1172646288.805179.172660@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi~
I'm using widows CE 5.0. If I suspend the system when the MP3 or MP4
is playing, there will be some noise, so I want to pause the MP3 and
MP4 players before system suspend( I don't know if there are some
better ways) and run them when come back. So where is the right place
should I put the code to pause them? Thanks in advanced.
Jack
.
- Prev by Date: Re: organizing drivers and tools into the platform builder tree
- Next by Date: MP3 codec in windows mobile 5
- Previous by thread: Re: organizing drivers and tools into the platform builder tree
- Next by thread: MP3 codec in windows mobile 5
- Index(es):