diff options
Diffstat (limited to 'apps/codecs/libwma/wmadec.h')
-rw-r--r-- | apps/codecs/libwma/wmadec.h | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/apps/codecs/libwma/wmadec.h b/apps/codecs/libwma/wmadec.h index e23d7c20b0..fd2d63c9d4 100644 --- a/apps/codecs/libwma/wmadec.h +++ b/apps/codecs/libwma/wmadec.h | |||
@@ -137,6 +137,11 @@ typedef struct WMADecodeContext | |||
137 | fixed64 lsp_pow_m_table1[(1 << LSP_POW_BITS)]; | 137 | fixed64 lsp_pow_m_table1[(1 << LSP_POW_BITS)]; |
138 | fixed64 lsp_pow_m_table2[(1 << LSP_POW_BITS)]; | 138 | fixed64 lsp_pow_m_table2[(1 << LSP_POW_BITS)]; |
139 | 139 | ||
140 | /* State of current superframe decoding */ | ||
141 | int bit_offset; | ||
142 | int nb_frames; | ||
143 | int current_frame; | ||
144 | |||
140 | #ifdef TRACE | 145 | #ifdef TRACE |
141 | 146 | ||
142 | int frame_count; | 147 | int frame_count; |
@@ -145,7 +150,9 @@ typedef struct WMADecodeContext | |||
145 | WMADecodeContext; | 150 | WMADecodeContext; |
146 | 151 | ||
147 | int wma_decode_init(WMADecodeContext* s, asf_waveformatex_t *wfx); | 152 | int wma_decode_init(WMADecodeContext* s, asf_waveformatex_t *wfx); |
148 | int wma_decode_superframe(WMADecodeContext* s, | 153 | int wma_decode_superframe_init(WMADecodeContext* s, |
149 | void *data, int *data_size, | 154 | uint8_t *buf, int buf_size); |
150 | uint8_t *buf, int buf_size); | 155 | int wma_decode_superframe_frame(WMADecodeContext* s, |
156 | int16_t *samples, | ||
157 | uint8_t *buf, int buf_size); | ||
151 | #endif | 158 | #endif |