Browse Source

WavAudioImporter: FFS GCC.

pull/417/head
Vladimír Vondruš 6 years ago
parent
commit
7cfa1709ef
  1. 5
      src/MagnumPlugins/WavAudioImporter/WavHeader.h

5
src/MagnumPlugins/WavAudioImporter/WavHeader.h

@ -60,6 +60,11 @@ struct WavHeaderChunk {
#pragma pack(1)
/* WAV 'fmt' header */
struct WavFormatChunk {
/* GCC 4.8 needs this, otherwise it can't store this in an Optional. It
also can't be just =default, otherwise it'll still try to construct the
members when using {} */
WavFormatChunk() {}
RiffChunk chunk; /* Starting RIFF chunk */
WavAudioFormat audioFormat; /* Audio format */
UnsignedShort numChannels; /* 1 = Mono, 2 = Stereo */

Loading…
Cancel
Save