Re: Pause the MP3,MP4 before system suspend

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



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


.