| 65 | } |
| 66 | |
| 67 | bool anyNaNorInf(const float* data, int frames) |
| 68 | { |
| 69 | const int samples = frames * 2; |
| 70 | for (int i = 0; i < samples; ++i) { |
| 71 | if (!std::isfinite(data[i])) return true; |
| 72 | } |
| 73 | return false; |
| 74 | } |
| 75 | |
| 76 | float linToDb(float lin) |
| 77 | { |
no outgoing calls
no test coverage detected