inspects the buffer data to discover if there are any non-zero values. meant for debugging.
| 98 | // inspects the buffer data to discover if there are any non-zero values. |
| 99 | // meant for debugging. |
| 100 | bool isZero() const |
| 101 | { |
| 102 | const float* ptr = data(); |
| 103 | for (int i = 0; i < m_length; ++i) |
| 104 | if (ptr[i] != 0.f) |
| 105 | return false; |
| 106 | return true; |
| 107 | } |
| 108 | |
| 109 | // Scales all samples by the same amount. |
| 110 | void scale(float scale); |
nothing calls this directly
no outgoing calls
no test coverage detected