示例#1
0
文件: main.cpp 项目: df32/TTS
	HRESULT Pause()				//暂停朗读
	{
		if (!Paused)
		{
			Paused = true;
			return VoiceObj->Pause();
		}
		return 0;
	}
示例#2
0
文件: main.cpp 项目: df32/TTS
	HRESULT TogglePause()		//切换暂停
	{
		
		Paused = !Paused;

		if (Paused)
			return VoiceObj->Pause();
		else
			return VoiceObj->Resume();
	}