This is supposed to produce white noise and no dc
| 74 | |
| 75 | // This is supposed to produce white noise and no dc |
| 76 | static inline float DITHER_NOISE() |
| 77 | { |
| 78 | return rand() / (float)RAND_MAX - 0.5f; |
| 79 | } |
| 80 | |
| 81 | // Defines for sample conversion |
| 82 | constexpr auto CONVERT_DIV16 = float(1<<15); |
no outgoing calls
no test coverage detected