Remove unnecessary comments.

This commit is contained in:
2025-07-26 22:34:09 +02:00
parent 19d0caa0b7
commit 778f43e597
2 changed files with 4 additions and 2 deletions

View File

@@ -68,8 +68,8 @@ public partial class AudioFileAnalyzer : Node
// Read the raw bytes for the current sample
reader.Read(buffer, 0, buffer.Length);
// Convert the byte array to a 16-bit sample (assuming 16-bit PCM)
short sample = BitConverter.ToInt16(buffer, 0); // Assuming 16-bit signed samples
// Convert the byte array to a 16-bit sample
short sample = BitConverter.ToInt16(buffer, 0);
waveformInfo.Samples[sampleIndex++] = (float)sample / short.MaxValue;
}