1
0
mirror of https://github.com/godotengine/godot.git synced 2025-12-31 18:41:20 +00:00

WAV: Add missing break on get_length()

This commit is contained in:
DeeJayLSP
2024-08-25 14:18:26 -03:00
parent a1acd38c35
commit 703c31fb40

View File

@@ -560,6 +560,7 @@ double AudioStreamWAV::get_length() const {
qoa_desc desc = { 0, 0, 0, { { { 0 }, { 0 } } } };
qoa_decode_header((uint8_t *)data + DATA_PAD, data_bytes, &desc);
len = desc.samples * desc.channels;
break;
}
if (stereo) {