diff options
| author | Rafaël Carré <rafael.carre@gmail.com> | 2010-05-13 21:32:06 +0000 |
|---|---|---|
| committer | Rafaël Carré <rafael.carre@gmail.com> | 2010-05-13 21:32:06 +0000 |
| commit | 289b6bdb694f69aa68c3679ed0ee9212b0ed082d (patch) | |
| tree | 1902327bd80758fc7f890c50f4500f5ed638eb1f /apps/plugins | |
| parent | 573409193be6e6291c50bca3392e962d22bfb96d (diff) | |
| download | rockbox-289b6bdb694f69aa68c3679ed0ee9212b0ed082d.zip rockbox-289b6bdb694f69aa68c3679ed0ee9212b0ed082d.tar.gz rockbox-289b6bdb694f69aa68c3679ed0ee9212b0ed082d.tar.bz2 rockbox-289b6bdb694f69aa68c3679ed0ee9212b0ed082d.tar.xz | |
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
Diffstat (limited to 'apps/plugins')
| -rw-r--r-- | apps/plugins/pitch_detector.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/apps/plugins/pitch_detector.c b/apps/plugins/pitch_detector.c index de0aff9..a394450 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; } |