From 076a7088a22cc3933885ec6929f5a78f64dbba6e Mon Sep 17 00:00:00 2001 From: Joseph Davies Date: Tue, 3 Oct 2017 20:26:19 -0700 Subject: [PATCH] Use WAV header and size information instead of throwing it out. --- korman/properties/modifiers/sound.py | 1 + 1 file changed, 1 insertion(+) diff --git a/korman/properties/modifiers/sound.py b/korman/properties/modifiers/sound.py index ccbaa42..8234938 100644 --- a/korman/properties/modifiers/sound.py +++ b/korman/properties/modifiers/sound.py @@ -287,6 +287,7 @@ class PlasmaSound(idprops.IDPropMixin, bpy.types.PropertyGroup): header = plWAVHeader() if magic == b"RIFF": size = korlib.inspect_wavefile(stream, header) + return (header, size) elif magic == b"OggS": size = korlib.inspect_vorbisfile(stream, header) return (header, size)