]> err.no Git - mapper/commitdiff
Set voice speed and pitch
authorKaj-Michael Lang <milang@onion.tal.org>
Mon, 15 Oct 2007 14:03:16 +0000 (17:03 +0300)
committerKaj-Michael Lang <milang@onion.tal.org>
Mon, 15 Oct 2007 14:03:16 +0000 (17:03 +0300)
src/settings-gui.c

index 79c59b1f0dee0ea4343fa27744836679cb9a4a7f..8b745c6fd8a0d10e52260f41a3fafe196ba74e88 100644 (file)
@@ -653,6 +653,8 @@ settings_dialog(void)
                _voice_pitch = hildon_number_editor_get_value(HILDON_NUMBER_EDITOR(num_voice_pitch));
                _enable_voice = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(chk_enable_voice));
 
+               speak_set_parameters(_voice_speed, _voice_pitch);
+
                if (_db) {
                        mapper_db_disconnect(&_db);
                        _db = NULL;