Lines Matching defs:code
83 int code;
85 code = (*buf) >> 6;
88 switch(code) {
91 code = *buf++;
92 sample += ws_adpcm_2bit[code & 0x3];
95 sample += ws_adpcm_2bit[(code >> 2) & 0x3];
98 sample += ws_adpcm_2bit[(code >> 4) & 0x3];
101 sample += ws_adpcm_2bit[(code >> 6) & 0x3];
109 code = *buf++;
110 sample += ws_adpcm_4bit[code & 0xF];
113 sample += ws_adpcm_4bit[code >> 4];