From: funman Date: Thu, 13 May 2010 21:32:06 +0000 (+0000) Subject: fix pitch_detector: recording will stop itself if the callback returns <0 X-Git-Url: https://repo.or.cz/w/kugel-rb.git/commitdiff_plain/708506418500b900a2ca5cace386044372efda88 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 --- 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; }