From 708506418500b900a2ca5cace386044372efda88 Mon Sep 17 00:00:00 2001 From: funman Date: Thu, 13 May 2010 21:32:06 +0000 Subject: [PATCH] fix pitch_detector: recording will stop itself if the callback returns <0 stopping recording 2 times might have harmful effects git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26002 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/pitch_detector.c | 1 - 1 file changed, 1 deletion(-) diff --git a/apps/plugins/pitch_detector.c b/apps/plugins/pitch_detector.c index de0aff9fe..a39445029 100644 --- a/apps/plugins/pitch_detector.c +++ b/apps/plugins/pitch_detector.c @@ -980,7 +980,6 @@ int recording_callback(int status) { (void) status; - rb->pcm_stop_recording(); recording=0; return -1; } -- 2.11.4.GIT