Triangle dither - high pass filtered
| 341 | |
| 342 | // Triangle dither - high pass filtered |
| 343 | inline float TriangleDither(State &state, float sample) |
| 344 | { |
| 345 | float r = DITHER_NOISE(); |
| 346 | float result = sample + r - state.mTriangleState; |
| 347 | state.mTriangleState = r; |
| 348 | |
| 349 | return result; |
| 350 | } |
| 351 | |
| 352 | // Shaped dither |
| 353 | inline float ShapedDither(State &state, float sample) |
nothing calls this directly
no test coverage detected