| 8 | #include "jdsp_header.h" |
| 9 | |
| 10 | void LLsinHalfTblFloat(float *dst, unsigned int n) |
| 11 | { |
| 12 | const double twopi_over_n = 6.283185307179586476925286766559 / n; |
| 13 | for (unsigned int i = 0; i < n; ++i) |
| 14 | dst[i] = (float)sin(twopi_over_n * i); |
| 15 | } |
| 16 | typedef struct |
| 17 | { |
| 18 | unsigned int xLen; |