forked from len0rd/rockbox
pitch detector: remove unused functions for sim builds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27919 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
e09ebc4213
commit
0bdd362ab9
1 changed files with 2 additions and 3 deletions
|
@ -851,7 +851,7 @@ static fixed ICODE_ATTR vec_quadint_min(fixed *x, unsigned bufsize, unsigned pos
|
||||||
return exactpos;
|
return exactpos;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef SIMULATOR
|
||||||
/* Calculate the period of the note in the
|
/* Calculate the period of the note in the
|
||||||
buffer using the YIN algorithm */
|
buffer using the YIN algorithm */
|
||||||
/* The yin pointer is just a buffer that the algorithm uses as a work
|
/* The yin pointer is just a buffer that the algorithm uses as a work
|
||||||
|
@ -918,7 +918,6 @@ static uint32_t ICODE_ATTR buffer_magnitude(int16_t *input)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Stop the recording when the buffer is full */
|
/* Stop the recording when the buffer is full */
|
||||||
#ifndef SIMULATOR
|
|
||||||
static void recording_callback(int status, void **start, size_t *size)
|
static void recording_callback(int status, void **start, size_t *size)
|
||||||
{
|
{
|
||||||
int tail = audio_tail ^ 1;
|
int tail = audio_tail ^ 1;
|
||||||
|
@ -933,7 +932,7 @@ static void recording_callback(int status, void **start, size_t *size)
|
||||||
|
|
||||||
(void)status;
|
(void)status;
|
||||||
}
|
}
|
||||||
#endif
|
#endif /* SIMULATOR */
|
||||||
|
|
||||||
/* Start recording */
|
/* Start recording */
|
||||||
static void record_data(void)
|
static void record_data(void)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue