HRESULT Pause() //暂停朗读 { if (!Paused) { Paused = true; return VoiceObj->Pause(); } return 0; }
HRESULT TogglePause() //切换暂停 { Paused = !Paused; if (Paused) return VoiceObj->Pause(); else return VoiceObj->Resume(); }