fix pitch_detector: recording will stop itself if the callback returns <0
commit708506418500b900a2ca5cace386044372efda88
authorfunman <funman@a1c6a512-1295-4272-9138-f99709370657>
Thu, 13 May 2010 21:32:06 +0000 (13 21:32 +0000)
committerfunman <funman@a1c6a512-1295-4272-9138-f99709370657>
Thu, 13 May 2010 21:32:06 +0000 (13 21:32 +0000)
tree1902327bd80758fc7f890c50f4500f5ed638eb1f
parent299c74afc4479699230d2762ca81e8505f31a91c
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