]> sigrok.org Git - libsigrokdecode.git/commitdiff
i2s: Set file size to 4Gb
authorJoel Holdsworth <redacted>
Wed, 8 Nov 2017 02:55:50 +0000 (19:55 -0700)
committerUwe Hermann <redacted>
Sat, 11 Nov 2017 17:25:08 +0000 (18:25 +0100)
decoders/i2s/pd.py

index 474c6066c4612e68df8e1495aa922087f6d2db89..05907976442808cca8118a1b8ee8fc506cd08b7c 100644 (file)
@@ -118,7 +118,7 @@ class Decoder(srd.Decoder):
         h += b'\x20\x00'         # Bits per sample (32)
         # Data subchunk
         h += b'data'
-        h += b'\xff\xff\x00\x00' # Subchunk size (65535 bytes) TODO
+        h += b'\xff\xff\xff\xff' # Subchunk size (4G bytes) TODO
         return h
 
     def wav_sample(self, sample):