You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Fix member names of AudioFrame to match extension
This commit is contained in:
@@ -666,11 +666,11 @@ Ref<Texture2D> EditorAudioStreamPreviewPlugin::generate(const Ref<Resource> &p_f
|
||||
}
|
||||
|
||||
for (int j = from; j < to; j++) {
|
||||
max = MAX(max, frames[j].l);
|
||||
max = MAX(max, frames[j].r);
|
||||
max = MAX(max, frames[j].left);
|
||||
max = MAX(max, frames[j].right);
|
||||
|
||||
min = MIN(min, frames[j].l);
|
||||
min = MIN(min, frames[j].r);
|
||||
min = MIN(min, frames[j].left);
|
||||
min = MIN(min, frames[j].right);
|
||||
}
|
||||
|
||||
int pfrom = CLAMP((min * 0.5 + 0.5) * h / 2, 0, h / 2) + h / 4;
|
||||
|
||||
Reference in New Issue
Block a user