summaryrefslogtreecommitdiff
path: root/apps/codecs/libspeex/stereo.c
diff options
context:
space:
mode:
authorThom Johansen <thomj@rockbox.org>2007-11-14 02:15:56 +0000
committerThom Johansen <thomj@rockbox.org>2007-11-14 02:15:56 +0000
commit85b325fdb991a0602a2f16a55fc1df2c303aded1 (patch)
tree6eba0129ce3cc84831b37e2ed64c473d053317ac /apps/codecs/libspeex/stereo.c
parent91f618f1ba1e507a9aa1cf7ee87eaf0370272b17 (diff)
downloadrockbox-85b325fdb991a0602a2f16a55fc1df2c303aded1.tar.gz
rockbox-85b325fdb991a0602a2f16a55fc1df2c303aded1.zip
Sync Speex to SVN. Disable stereo compatibility hack since we don't needed it and it produced warnings. Remove unneeded math.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15613 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libspeex/stereo.c')
-rw-r--r--apps/codecs/libspeex/stereo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/codecs/libspeex/stereo.c b/apps/codecs/libspeex/stereo.c
index c63c974798..9fa812dd72 100644
--- a/apps/codecs/libspeex/stereo.c
+++ b/apps/codecs/libspeex/stereo.c
@@ -213,7 +213,7 @@ void speex_decode_stereo_int(spx_int16_t *data, int frame_size, SpeexStereoState
213 spx_word16_t e_left, e_right, e_ratio; 213 spx_word16_t e_left, e_right, e_ratio;
214 RealSpeexStereoState *stereo = (RealSpeexStereoState*)_stereo; 214 RealSpeexStereoState *stereo = (RealSpeexStereoState*)_stereo;
215 215
216 COMPATIBILITY_HACK(stereo); 216 /* COMPATIBILITY_HACK(stereo); */
217 217
218 balance=stereo->balance; 218 balance=stereo->balance;
219 e_ratio=stereo->e_ratio; 219 e_ratio=stereo->e_ratio;
@@ -240,7 +240,7 @@ int speex_std_stereo_request_handler(SpeexBits *bits, void *state, void *data)
240 240
241 stereo = (RealSpeexStereoState*)data; 241 stereo = (RealSpeexStereoState*)data;
242 242
243 COMPATIBILITY_HACK(stereo); 243 /* COMPATIBILITY_HACK(stereo); */
244 244
245 if (speex_bits_unpack_unsigned(bits, 1)) 245 if (speex_bits_unpack_unsigned(bits, 1))
246 sign=-1; 246 sign=-1;