[gcompris] click_on_letter: added a one second delay between the audio message 'click on letter' and the letter



commit 11ccef3da923d7b7022ce3417725211ab257152f
Author: Bruno Coudoin <bruno coudoin free fr>
Date:   Sun Jun 17 11:12:26 2012 +0200

    click_on_letter: added a one second delay between the audio message 'click on letter' and the letter.

 boards/sounds/silence1s.ogg                    |  Bin 0 -> 4112 bytes
 src/click_on_letter-activity/click_on_letter.c |    3 ++-
 2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/boards/sounds/silence1s.ogg b/boards/sounds/silence1s.ogg
new file mode 100644
index 0000000..fb1ca64
Binary files /dev/null and b/boards/sounds/silence1s.ogg differ
diff --git a/src/click_on_letter-activity/click_on_letter.c b/src/click_on_letter-activity/click_on_letter.c
index 20605fd..c1c5dda 100644
--- a/src/click_on_letter-activity/click_on_letter.c
+++ b/src/click_on_letter-activity/click_on_letter.c
@@ -425,7 +425,8 @@ click_on_letter_next_level()
   gamewon = FALSE;
   selected_button = NULL;
   /* Try the next level */
-  gc_sound_play_ogg("voices/$LOCALE/misc/click_on_letter.ogg", NULL);
+  gc_sound_play_ogg("voices/$LOCALE/misc/click_on_letter.ogg",
+		    "sounds/silence1s.ogg", NULL);
   click_on_letter_create_item(goo_canvas_get_root_item(gcomprisBoard->canvas));
   gc_score_set_max(gcomprisBoard->number_of_sublevel);
   gc_score_set(gcomprisBoard->sublevel);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]