The unified diff between revisions [4839c414..] and [9cb69bf6..] is displayed below. It can also be downloaded as a raw diff.

This diff has been restricted to the following files: 'src/lsi/beatdetect.c'

#
# old_revision [4839c414876f813b3873cc350a8e42d6c01957fc]
# new_revision [9cb69bf681632171c5140ab3801212de4c31e6b2]
#
# patch "src/lsi/beatdetect.c"
#  from [642aeeccb604d74ca5bee7f38c873a5f8d5077e7]
#    to [c2ea84655e11d044bc31946962707b9b19294c80]
#
============================================================
--- src/lsi/beatdetect.c	642aeeccb604d74ca5bee7f38c873a5f8d5077e7
+++ src/lsi/beatdetect.c	c2ea84655e11d044bc31946962707b9b19294c80
@@ -114,7 +114,7 @@ double beatdetect_getconfidence(void)
 	return confidence;
 }
 
-void beatdetect_init(void)
+int beatdetect_init(void)
 {
 	audio_info_t info, oinfo;
 
@@ -156,6 +156,8 @@ void beatdetect_init(void)
 
 	/* vm_register_blah */
 	vm_register_signal_fd(audiofd, VM_BEATQ);
+
+	return 1;
 }
 
 int beatdetect_read(void)