Remove unnecessary comments.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -140,6 +140,7 @@ size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
|
||||
[node name="LeftDock" type="Container" parent="VBoxContainer/VSplitContainer/HSplitContainer"]
|
||||
z_index = 2
|
||||
custom_minimum_size = Vector2(200, 0)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
@@ -187,3 +188,4 @@ mouse_filter = 2
|
||||
script = ExtResource("11_gc3ui")
|
||||
|
||||
[connection signal="clip_added" from="VBoxContainer/VSplitContainer/HSplitContainer/Timeline" to="ProjectController" method="CreateAudioClipPreview"]
|
||||
[connection signal="AudioClipDropped" from="ProjectController" to="VBoxContainer/VSplitContainer/HSplitContainer/Timeline" method="clip_dropped"]
|
||||
|
||||
Reference in New Issue
Block a user