1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Rafaël Carré 2010-05-13 21:32:06 +00:00
parent 573409193b
commit 289b6bdb69

View file

@ -980,7 +980,6 @@ int recording_callback(int status)
{
(void) status;
rb->pcm_stop_recording();
recording=0;
return -1;
}