summaryrefslogtreecommitdiff
path: root/apps/codecs/libspeex/nb_celp.c
diff options
context:
space:
mode:
authorAndree Buschmann <AndreeBuschmann@t-online.de>2010-02-22 19:44:05 +0000
committerAndree Buschmann <AndreeBuschmann@t-online.de>2010-02-22 19:44:05 +0000
commit398b37124e870b3be69a03e5d89c5887204d6990 (patch)
tree2f8da4ae1b5a47db97a298db5e6ffa916beed90b /apps/codecs/libspeex/nb_celp.c
parentc1bb06c3af4c5277e4a08c0084da86a69bc9d127 (diff)
downloadrockbox-398b37124e870b3be69a03e5d89c5887204d6990.tar.gz
rockbox-398b37124e870b3be69a03e5d89c5887204d6990.zip
Remove all tabs within codec path.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24862 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libspeex/nb_celp.c')
-rw-r--r--apps/codecs/libspeex/nb_celp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/codecs/libspeex/nb_celp.c b/apps/codecs/libspeex/nb_celp.c
index 31eaa06b6b..90a5d1e991 100644
--- a/apps/codecs/libspeex/nb_celp.c
+++ b/apps/codecs/libspeex/nb_celp.c
@@ -1019,7 +1019,7 @@ void nb_decoder_destroy(void *state)
1019*/ 1019*/
1020} 1020}
1021 1021
1022#define median3(a, b, c) ((a) < (b) ? ((b) < (c) ? (b) : ((a) < (c) ? (c) : (a))) : ((c) < (b) ? (b) : ((c) < (a) ? (c) : (a)))) 1022#define median3(a, b, c) ((a) < (b) ? ((b) < (c) ? (b) : ((a) < (c) ? (c) : (a))) : ((c) < (b) ? (b) : ((c) < (a) ? (c) : (a))))
1023 1023
1024#ifdef FIXED_POINT 1024#ifdef FIXED_POINT
1025const spx_word16_t attenuation[10] = {32767, 31483, 27923, 22861, 17278, 12055, 7764, 4616, 2533, 1283}; 1025const spx_word16_t attenuation[10] = {32767, 31483, 27923, 22861, 17278, 12055, 7764, 4616, 2533, 1283};
@@ -1353,10 +1353,10 @@ int nb_decode(void *state, SpeexBits *bits, void *vout)
1353*/ 1353*/
1354 pit_min = ol_pitch-margin+1; 1354 pit_min = ol_pitch-margin+1;
1355 if (pit_min < st->min_pitch) 1355 if (pit_min < st->min_pitch)
1356 pit_min = st->min_pitch; 1356 pit_min = st->min_pitch;
1357 pit_max = ol_pitch+margin; 1357 pit_max = ol_pitch+margin;
1358 if (pit_max > st->max_pitch) 1358 if (pit_max > st->max_pitch)
1359 pit_max = st->max_pitch; 1359 pit_max = st->max_pitch;
1360 } else { 1360 } else {
1361 pit_min = pit_max = ol_pitch; 1361 pit_min = pit_max = ol_pitch;
1362 } 1362 }