Skip to content

Commit

Permalink
WavAudioImporter: FFS GCC.
Browse files Browse the repository at this point in the history
  • Loading branch information
mosra committed Jan 11, 2020
1 parent 2ff5d32 commit 7cfa170
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/MagnumPlugins/WavAudioImporter/WavHeader.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 7cfa170

Please sign in to comment.