The unified diff between revisions [4839c414..] and [81f2a8bb..] 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 [81f2a8bbe94638a22f5651ee07112ceabd50285c]
#
# 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)