Browse Source

Fixed a bug parsing wav cue metadata

tags/2021-05-28
Tom Poole 7 years ago
parent
commit
e6104e3fed
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      modules/juce_audio_formats/codecs/juce_WavAudioFormat.cpp

+ 4
- 4
modules/juce_audio_formats/codecs/juce_WavAudioFormat.cpp View File

@@ -1134,10 +1134,10 @@ public:
auto identifier = (uint32) input->readInt(); auto identifier = (uint32) input->readInt();
auto sampleLength = (uint32) input->readInt(); auto sampleLength = (uint32) input->readInt();
auto purpose = (uint32) input->readInt(); auto purpose = (uint32) input->readInt();
auto country = (uint16) input->readInt();
auto language = (uint16) input->readInt();
auto dialect = (uint16) input->readInt();
auto codePage = (uint16) input->readInt();
auto country = (uint16) input->readShort();
auto language = (uint16) input->readShort();
auto dialect = (uint16) input->readShort();
auto codePage = (uint16) input->readShort();
auto stringLength = adtlLength - 20; auto stringLength = adtlLength - 20;
MemoryBlock textBlock; MemoryBlock textBlock;


Loading…
Cancel
Save