From 0928c7fa0e2b91005ac6c319650e9e13468903cd Mon Sep 17 00:00:00 2001 From: Davide Morelli Date: Tue, 27 Dec 2005 01:28:51 +0000 Subject: added rhythms playing. still need debugging svn path=/trunk/externals/frankenstein/; revision=4300 --- common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'common.c') diff --git a/common.c b/common.c index 9fe2c36..7b024a0 100755 --- a/common.c +++ b/common.c @@ -683,7 +683,7 @@ void rhythm_memory_evaluate(t_rhythm_memory_representation *rep_list, // the mem } // return 0 if failed finding the rhythm, 1 if the rhythm was found int rhythm_memory_get_rhythm(t_rhythm_memory_representation *rep_list, // the memory - t_rhythm_event *out_rhythm, // a pointer to the returned rhythm + t_rhythm_event **out_rhythm, // a pointer to the returned rhythm // the id of the main rhythm wanted unsigned short int id, // the sub-id of the sub-rhythm wanted @@ -705,7 +705,7 @@ int rhythm_memory_get_rhythm(t_rhythm_memory_representation *rep_list, // the me if (curr2->id == sub_id) { // i've found the rhythm! - out_rhythm=curr2->rhythm; + *out_rhythm=curr2->rhythm; return 1; } curr2 = curr2->next; -- cgit v1.2.1