Lines Matching defs:code
16 * Based on Version 1.2, 18-Dec-92 implementation of Intel/DVI ADPCM code
37 These routines convert 16 bit linear PCM samples to 4 bit ADPCM code
38 and vice versa. The ADPCM code used is the Intel/DVI ADPCM code which
125 * This code *approximately* computes:
167 static int adpcm_decoder(unsigned char code, snd_pcm_adpcm_state_t * state)
176 sign = code & 0x8;
177 code &= 0x7;
180 * Computes pred_diff = (code + 0.5) * step / 4,
189 if (code & i) {
203 state->step_idx += IndexAdjust[code];
545 * \retval zero on success otherwise a negative error code
597 \code
628 * \retval zero on success otherwise a negative error code