From 289b6bdb694f69aa68c3679ed0ee9212b0ed082d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C3=ABl=20Carr=C3=A9?= 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 de0aff9fef..a394450290 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; }