Home
last modified time | relevance | path

Searched refs:iSamp1 (Results 1 – 1 of 1) sorted by relevance

/external/qemu/distrib/sdl-1.2.12/src/audio/
DSDL_wave.c35 Sint16 iSamp1; member
94 new_sample = ((state->iSamp1 * coeff[0]) + in MS_ADPCM_nibble()
112 state->iSamp2 = state->iSamp1; in MS_ADPCM_nibble()
113 state->iSamp1 = (Sint16)new_sample; in MS_ADPCM_nibble()
156 state[0]->iSamp1 = ((encoded[1]<<8)|encoded[0]); in MS_ADPCM_decode()
159 state[1]->iSamp1 = ((encoded[1]<<8)|encoded[0]); in MS_ADPCM_decode()
180 decoded[0] = state[0]->iSamp1&0xFF; in MS_ADPCM_decode()
181 decoded[1] = state[0]->iSamp1>>8; in MS_ADPCM_decode()
184 decoded[0] = state[1]->iSamp1&0xFF; in MS_ADPCM_decode()
185 decoded[1] = state[1]->iSamp1>>8; in MS_ADPCM_decode()