Lines Matching refs:code
107 int code, smp, size;
109 code = *buf >> 6;
114 switch (code) {
124 size = ((code == 2 && (count & 0x20)) || code == 3) ? 0 : count + 1;
128 switch (code) {
131 code = *buf++;
132 sample += ( code & 0x3) - 2;
135 sample += ((code >> 2) & 0x3) - 2;
138 sample += ((code >> 4) & 0x3) - 2;
141 sample += (code >> 6) - 2;
148 code = *buf++;
149 sample += ws_adpcm_4bit[code & 0xF];
152 sample += ws_adpcm_4bit[code >> 4];