diff options
author | Nils Wallménius <nils@rockbox.org> | 2011-06-02 20:52:54 +0000 |
---|---|---|
committer | Nils Wallménius <nils@rockbox.org> | 2011-06-02 20:52:54 +0000 |
commit | 73d0e14f4494b98e0c781934fbf19efa8d6d8418 (patch) | |
tree | cd3a80eb069dc81178a5b50020356c741116f103 /apps/codecs/libspeex/speex/speex.h | |
parent | d860c878003142128f7beb3e38dae38007822364 (diff) | |
download | rockbox-73d0e14f4494b98e0c781934fbf19efa8d6d8418.tar.gz rockbox-73d0e14f4494b98e0c781934fbf19efa8d6d8418.zip |
Disable some unused code in speex to save binsize.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29949 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libspeex/speex/speex.h')
-rw-r--r-- | apps/codecs/libspeex/speex/speex.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/codecs/libspeex/speex/speex.h b/apps/codecs/libspeex/speex/speex.h index ffb0714f1c..086d492670 100644 --- a/apps/codecs/libspeex/speex/speex.h +++ b/apps/codecs/libspeex/speex/speex.h | |||
@@ -263,6 +263,7 @@ typedef struct SpeexMode { | |||
263 | bitstream compatibility*/ | 263 | bitstream compatibility*/ |
264 | int bitstream_version; | 264 | int bitstream_version; |
265 | 265 | ||
266 | #ifndef SPEEX_DISABLE_ENCODER | ||
266 | /** Pointer to encoder initialization function */ | 267 | /** Pointer to encoder initialization function */ |
267 | encoder_init_func enc_init; | 268 | encoder_init_func enc_init; |
268 | 269 | ||
@@ -271,6 +272,7 @@ typedef struct SpeexMode { | |||
271 | 272 | ||
272 | /** Pointer to frame encoding function */ | 273 | /** Pointer to frame encoding function */ |
273 | encode_func enc; | 274 | encode_func enc; |
275 | #endif | ||
274 | 276 | ||
275 | /** Pointer to decoder initialization function */ | 277 | /** Pointer to decoder initialization function */ |
276 | decoder_init_func dec_init; | 278 | decoder_init_func dec_init; |
@@ -281,8 +283,10 @@ typedef struct SpeexMode { | |||
281 | /** Pointer to frame decoding function */ | 283 | /** Pointer to frame decoding function */ |
282 | decode_func dec; | 284 | decode_func dec; |
283 | 285 | ||
286 | #ifndef SPEEX_DISABLE_ENCODER | ||
284 | /** ioctl-like requests for encoder */ | 287 | /** ioctl-like requests for encoder */ |
285 | encoder_ctl_func enc_ctl; | 288 | encoder_ctl_func enc_ctl; |
289 | #endif | ||
286 | 290 | ||
287 | /** ioctl-like requests for decoder */ | 291 | /** ioctl-like requests for decoder */ |
288 | decoder_ctl_func dec_ctl; | 292 | decoder_ctl_func dec_ctl; |