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:
parent
573409193b
commit
289b6bdb69
1 changed files with 0 additions and 1 deletions
|
|
@ -980,7 +980,6 @@ int recording_callback(int status)
|
||||||
{
|
{
|
||||||
(void) status;
|
(void) status;
|
||||||
|
|
||||||
rb->pcm_stop_recording();
|
|
||||||
recording=0;
|
recording=0;
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue