|
3 | 3 | //#pragma GCC optimize ("O3") |
4 | 4 | //#pragma GCC diagnostic ignored "-Wnarrowing" |
5 | 5 |
|
| 6 | +/******************************************************************** |
| 7 | + * * |
| 8 | + * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * |
| 9 | + * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * |
| 10 | + * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * |
| 11 | + * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * |
| 12 | + * * |
| 13 | + * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2007 * |
| 14 | + * by the Xiph.Org Foundation https://xiph.org/ * |
| 15 | + * * |
| 16 | + ********************************************************************/ |
| 17 | +/* |
| 18 | + * vorbis_decoder.h |
| 19 | + * based on Xiph.Org Foundation vorbis decoder |
| 20 | + * adapted for the ESP32 by schreibfaul1 |
| 21 | + * |
| 22 | + * Created on: 13.02.2023 |
| 23 | + * Updated on: 09.10.2023 |
| 24 | + */ |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | + |
6 | 29 | #include "Arduino.h" |
7 | 30 |
|
8 | 31 | #define VI_FLOORB 2 |
@@ -261,7 +284,7 @@ void mdct_step7(int32_t *x, int n, int step); |
261 | 284 | void mdct_step8(int32_t *x, int n, int step); |
262 | 285 | int32_t vorbis_book_decodevv_add(codebook_t *book, int32_t **a, int32_t offset, uint8_t ch, int n, int point); |
263 | 286 | int vorbis_dsp_pcmout(int16_t *outBuff, int outBuffSize); |
264 | | -void mdct_unroll_lap(int n0, int n1, int lW, int W, int *in, int *right, const int *w0, const int *w1, short int *out, |
| 287 | +void mdct_unroll_lap(int n0, int n1, int lW, int W, int32_t *in, int32_t *right, const int32_t *w0, const int32_t *w1, short int *out, |
265 | 288 | int step, int start, /* samples, this frame */ |
266 | 289 | int end /* samples, this frame */); |
267 | 290 |
|
|
0 commit comments