1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-11 23:54:18 +00:00

Added channel mask metadata to WavAudioFormat.

This commit is contained in:
jules 2012-04-18 09:52:17 +01:00
parent a16aee5fa5
commit 83fa27c4f2

View file

@ -544,7 +544,9 @@ public:
}
else
{
input->skipNextBytes (10); // skip over bitsPerSample and speakerPosition mask
input->skipNextBytes (6); // skip over bitsPerSample
metadataValues.set ("ChannelMask", String (input->readInt()));
ExtensibleWavSubFormat subFormat;
subFormat.data1 = (uint32) input->readInt();
subFormat.data2 = (uint16) input->readShort();