mirror of
https://github.com/godotengine/godot.git
synced 2024-11-10 06:03:09 +00:00
Merge pull request #96080 from DeeJayLSP/qoa-break
WAV: Add missing break on `get_length()`
This commit is contained in:
commit
4cb6e9994a
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user