| 67 | } |
| 68 | |
| 69 | void processBlocks(ClientReverb& r, float* buf, int frames) |
| 70 | { |
| 71 | int remaining = frames; |
| 72 | float* p = buf; |
| 73 | while (remaining > 0) { |
| 74 | const int n = std::min(kBlockSize, remaining); |
| 75 | r.process(p, n, 2); |
| 76 | p += n * 2; |
| 77 | remaining -= n; |
| 78 | } |
| 79 | } |
| 80 | |
| 81 | bool anyNaNorInf(const float* data, int frames) |
| 82 | { |