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