private static void ClearBuffer(float[] buffer, int offset, int count) { for (int n = 0; n < count; n++) { buffer[n + offset] = 0; } }