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

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