+ frame_hdr: u32,
+}
+
+fn common_header_word(mut val: u32) -> u32 {
+ val &= !0x1F000; // blocking strategy and block size
+ let ch_map = (val >> 4) & 0xF;
+ if matches!(ch_map, 0x1 | 0x8 | 0x9 | 0xA) { // stereo coding modes
+ val &= !0xF0;
+ val |= 0x10;
+ }
+ val