Does this fix the sound problem on device wakeup ?
svn-id: r20505
This commit is contained in:
parent
7f1771cba8
commit
0aa701d759
1 changed files with 2 additions and 15 deletions
|
@ -17,7 +17,8 @@
|
|||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
*
|
||||
* $Header$
|
||||
* $URL$
|
||||
* $Id$
|
||||
*
|
||||
*/
|
||||
|
||||
|
@ -50,20 +51,6 @@ bool OSystem_PalmOS5::check_event(Event &event, EventPtr ev) {
|
|||
event.mouse.x = _mouseCurState.x;
|
||||
event.mouse.y = _mouseCurState.y;
|
||||
return true;
|
||||
|
||||
// trun off
|
||||
case vchrAutoOff:
|
||||
case vchrPowerOff:
|
||||
// pause the sound thread if any
|
||||
if (_sound.active)
|
||||
SndStreamPause(_soundEx.handle, true);
|
||||
break;
|
||||
|
||||
case vchrLateWakeup:
|
||||
// resume the sound thread if any
|
||||
if (_sound.active)
|
||||
SndStreamPause(_soundEx.handle, false);
|
||||
break;
|
||||
}
|
||||
|
||||
if (_keyMouse.hasMore) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue