[PATCH] emacspeak: restore speech parameters of server after `d' command.

Dmitri Paduchikh dpaduchikh на gmail.com
Вс Фев 24 10:25:49 MSK 2013


---
 emacspeak/LineParser.cpp | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/emacspeak/LineParser.cpp b/emacspeak/LineParser.cpp
index be1ed4d..bac8c9f 100644
--- a/emacspeak/LineParser.cpp
+++ b/emacspeak/LineParser.cpp
@@ -142,6 +142,10 @@ void LineParser::d()
       m_connection.volume(it->volume);
       m_connection.text(it->text);
     }
+  // Restore current speech parameters
+  m_connection.pitch(m_pitch);
+  m_connection.rate(m_rate);
+  m_connection.volume(m_volume);
   m_items.clear();
 }
 
-- 
1.8.1.4




Подробная информация о списке рассылки Homeros