We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d4ecff commit 551927eCopy full SHA for 551927e
src/ml_wavfile.h
@@ -58,9 +58,15 @@ union wavHeader
58
char riff[4]; /*!< 'RIFF' */
59
uint32_t fileSize; /*!< bytes to write containing all data (header + data) */
60
char waveType[4]; /*!< 'WAVE' */
61
-
62
- char format[4]; /*!< 'fmt ' */
63
- uint32_t lengthOfData; /*!< length of the fmt header (16 bytes) */
+ union
+ {
+ struct
64
65
+ char format[4]; /*!< 'fmt ' */
66
+ uint32_t lengthOfData; /*!< length of the fmt header (16 bytes) */
67
+ };
68
+ union wav_tag__header_u fmtTag;
69
70
uint16_t format_tag; /*!< 0x0001: PCM */
71
uint16_t numberOfChannels; /*!< 'WAVE' */
72
uint32_t sampleRate;
0 commit comments