1
1
mirror of https://github.com/wader/fq.git synced 2024-11-25 23:13:19 +03:00

tzx: use jq-ish values for the mapped symbols in block type 0x18

This commit is contained in:
Michael R. Cook 2024-08-02 10:47:15 +02:00
parent e3c3d925d0
commit ffb5eb333b

View File

@ -165,7 +165,7 @@ func decodeBlock(d *decode.D) {
// Sampling rate
d.FieldU24("sample_rate")
// Compression type
d.FieldU8("compression_type", scalar.UintMapSymStr{0x01: "RLE", 0x02: "Z-RLE"})
d.FieldU8("compression_type", scalar.UintMapSymStr{0x01: "rle", 0x02: "zrle"})
// Number of stored pulses (after decompression)
d.FieldU32("stored_pulse_count")