Subchunk2Size fix

main
s.eser 2024-05-30 22:24:24 +02:00
parent b121302fcb
commit d1945b93a1
2 changed files with 2 additions and 1 deletions

Binary file not shown.

View File

@ -17,13 +17,14 @@ struct Wav
uint16_t bitsPerSample; uint16_t bitsPerSample;
char subchunk2ID[4]; char subchunk2ID[4];
uint32_t subchunk2Size; uint32_t subchunk2Size;
}; };
// Union zum Auslesen des Wav struct // Union zum Auslesen des Wav struct
union ReadWav union ReadWav
{ {
struct Wav header; struct Wav header;
char c[40]; char c[44];
}; };
int main() int main()