aboutsummaryrefslogtreecommitdiff
path: root/common.c
diff options
context:
space:
mode:
authorDavide Morelli <morellid@users.sourceforge.net>2005-12-27 01:28:51 +0000
committerDavide Morelli <morellid@users.sourceforge.net>2005-12-27 01:28:51 +0000
commit0928c7fa0e2b91005ac6c319650e9e13468903cd (patch)
tree6d734fd882f75a30009c498ab09c3244c0b2a263 /common.c
parent5f3d84f5e6766ee824095942e0de32d8f3b1fcfe (diff)
added rhythms playing. still need debugging
svn path=/trunk/externals/frankenstein/; revision=4300
Diffstat (limited to 'common.c')
-rwxr-xr-xcommon.c4
1 files changed, 2 insertions, 2 deletions
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;