diff options
Diffstat (limited to 'apps/codecs/libspeex/speex_callbacks.c')
-rw-r--r-- | apps/codecs/libspeex/speex_callbacks.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/codecs/libspeex/speex_callbacks.c b/apps/codecs/libspeex/speex_callbacks.c index 9ffe5245f1..f1de038488 100644 --- a/apps/codecs/libspeex/speex_callbacks.c +++ b/apps/codecs/libspeex/speex_callbacks.c | |||
@@ -72,6 +72,8 @@ int speex_inband_handler(SpeexBits *bits, SpeexCallback *callback_list, void *st | |||
72 | return 0; | 72 | return 0; |
73 | } | 73 | } |
74 | 74 | ||
75 | #if 0 | ||
76 | /* Rockbox: unused */ | ||
75 | int speex_std_mode_request_handler(SpeexBits *bits, void *state, void *data) | 77 | int speex_std_mode_request_handler(SpeexBits *bits, void *state, void *data) |
76 | { | 78 | { |
77 | (void)state; | 79 | (void)state; |
@@ -98,6 +100,7 @@ int speex_std_high_mode_request_handler(SpeexBits *bits, void *state, void *data | |||
98 | speex_encoder_ctl(data, SPEEX_SET_HIGH_MODE, &m); | 100 | speex_encoder_ctl(data, SPEEX_SET_HIGH_MODE, &m); |
99 | return 0; | 101 | return 0; |
100 | } | 102 | } |
103 | #endif | ||
101 | 104 | ||
102 | #ifndef DISABLE_VBR | 105 | #ifndef DISABLE_VBR |
103 | int speex_std_vbr_request_handler(SpeexBits *bits, void *state, void *data) | 106 | int speex_std_vbr_request_handler(SpeexBits *bits, void *state, void *data) |
@@ -110,6 +113,8 @@ int speex_std_vbr_request_handler(SpeexBits *bits, void *state, void *data) | |||
110 | } | 113 | } |
111 | #endif /* #ifndef DISABLE_VBR */ | 114 | #endif /* #ifndef DISABLE_VBR */ |
112 | 115 | ||
116 | #if 0 | ||
117 | /* Rockbox: unused */ | ||
113 | int speex_std_enh_request_handler(SpeexBits *bits, void *state, void *data) | 118 | int speex_std_enh_request_handler(SpeexBits *bits, void *state, void *data) |
114 | { | 119 | { |
115 | (void)state; | 120 | (void)state; |
@@ -118,6 +123,7 @@ int speex_std_enh_request_handler(SpeexBits *bits, void *state, void *data) | |||
118 | speex_decoder_ctl(data, SPEEX_SET_ENH, &enh); | 123 | speex_decoder_ctl(data, SPEEX_SET_ENH, &enh); |
119 | return 0; | 124 | return 0; |
120 | } | 125 | } |
126 | #endif | ||
121 | 127 | ||
122 | #ifndef DISABLE_VBR | 128 | #ifndef DISABLE_VBR |
123 | int speex_std_vbr_quality_request_handler(SpeexBits *bits, void *state, void *data) | 129 | int speex_std_vbr_quality_request_handler(SpeexBits *bits, void *state, void *data) |
@@ -130,6 +136,8 @@ int speex_std_vbr_quality_request_handler(SpeexBits *bits, void *state, void *da | |||
130 | } | 136 | } |
131 | #endif /* #ifndef DISABLE_VBR */ | 137 | #endif /* #ifndef DISABLE_VBR */ |
132 | 138 | ||
139 | #if 0 | ||
140 | /* Rockbox: unused */ | ||
133 | int speex_std_char_handler(SpeexBits *bits, void *state, void *data) | 141 | int speex_std_char_handler(SpeexBits *bits, void *state, void *data) |
134 | { | 142 | { |
135 | (void)state; | 143 | (void)state; |
@@ -139,6 +147,7 @@ int speex_std_char_handler(SpeexBits *bits, void *state, void *data) | |||
139 | /*printf("speex_std_char_handler ch=%x\n", ch);*/ | 147 | /*printf("speex_std_char_handler ch=%x\n", ch);*/ |
140 | return 0; | 148 | return 0; |
141 | } | 149 | } |
150 | #endif | ||
142 | 151 | ||
143 | /* Default handler for user callbacks: skip it */ | 152 | /* Default handler for user callbacks: skip it */ |
144 | int speex_default_user_handler(SpeexBits *bits, void *state, void *data) | 153 | int speex_default_user_handler(SpeexBits *bits, void *state, void *data) |