| 76 | } |
| 77 | |
| 78 | bool anyNaNorInf(const float* data, int frames) |
| 79 | { |
| 80 | const int samples = frames * 2; |
| 81 | for (int i = 0; i < samples; ++i) { |
| 82 | if (!std::isfinite(data[i])) return true; |
| 83 | } |
| 84 | return false; |
| 85 | } |
| 86 | |
| 87 | float linToDb(float lin) |
| 88 | { |
no outgoing calls
no test coverage detected