diff options
author | Rafaël Carré <rafael.carre@gmail.com> | 2010-08-28 19:15:07 +0000 |
---|---|---|
committer | Rafaël Carré <rafael.carre@gmail.com> | 2010-08-28 19:15:07 +0000 |
commit | e78a12bca72cb5b1d559cda0fc68bd324017f9b0 (patch) | |
tree | 0ba03717f04d9f444e2b318cefa4b06f870340a7 /apps/plugins/pitch_detector.c | |
parent | 0bdd362ab97bc5f7a0690cbe6ff7de03d93247fb (diff) | |
download | rockbox-e78a12bca72cb5b1d559cda0fc68bd324017f9b0.tar.gz rockbox-e78a12bca72cb5b1d559cda0fc68bd324017f9b0.zip |
pitch detector: remove more unused functions for sim builds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27920 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/pitch_detector.c')
-rw-r--r-- | apps/plugins/pitch_detector.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/pitch_detector.c b/apps/plugins/pitch_detector.c index 5def8a16a4..afb38ce976 100644 --- a/apps/plugins/pitch_detector.c +++ b/apps/plugins/pitch_detector.c | |||
@@ -724,6 +724,7 @@ static void display_frequency (fixed freq) | |||
724 | rb->lcd_update(); | 724 | rb->lcd_update(); |
725 | } | 725 | } |
726 | 726 | ||
727 | #ifndef SIMULATOR | ||
727 | /*----------------------------------------------------------------------- | 728 | /*----------------------------------------------------------------------- |
728 | * Functions for the Yin algorithm | 729 | * Functions for the Yin algorithm |
729 | * | 730 | * |
@@ -851,7 +852,6 @@ static fixed ICODE_ATTR vec_quadint_min(fixed *x, unsigned bufsize, unsigned pos | |||
851 | return exactpos; | 852 | return exactpos; |
852 | } | 853 | } |
853 | 854 | ||
854 | #ifndef SIMULATOR | ||
855 | /* Calculate the period of the note in the | 855 | /* Calculate the period of the note in the |
856 | buffer using the YIN algorithm */ | 856 | buffer using the YIN algorithm */ |
857 | /* The yin pointer is just a buffer that the algorithm uses as a work | 857 | /* The yin pointer is just a buffer that the algorithm uses as a work |