From 76e8fc87b1de4f8967ad86287aa026956074c284 Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Sun, 29 Mar 2009 18:13:37 -0700 Subject: [PATCH] Replay audio challenges after the correct answer is shown This is necessary reinforcement, since unlike the other challenge types, the original channel is no longer observable when the correct answer is displayed. --- mnemon.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/mnemon.c b/mnemon.c index 87e1fd0..054e21c 100644 --- a/mnemon.c +++ b/mnemon.c @@ -1289,6 +1289,13 @@ mnemon_do_challenges (mnemon_t *mnemon) (start.tv_sec + start.tv_usec / 1e6), category->time_limit); free (response); + + /* Replay audio challenges for reinforcement. */ + if (category->challenge_type == CHALLENGE_TYPE_AUDIO) { + mnemon_show_challenge (mnemon, category->challenge_type, + item->challenge); + sleep (1); + } } while (mnemon->to_introduce || mnemon->unlearned || mnemon->to_master > 0); -- 2.43.0