Lines Matching refs:code
96 int code, smp, size;
98 code = *buf >> 6;
103 switch (code) {
113 size = ((code == 2 && (count & 0x20)) || code == 3) ? 0 : count + 1;
117 switch (code) {
120 code = *buf++;
121 sample += ( code & 0x3) - 2;
124 sample += ((code >> 2) & 0x3) - 2;
127 sample += ((code >> 4) & 0x3) - 2;
130 sample += (code >> 6) - 2;
137 code = *buf++;
138 sample += ws_adpcm_4bit[code & 0xF];
141 sample += ws_adpcm_4bit[code >> 4];