Home
last modified time | relevance | path

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

/external/qemu/distrib/sdl-1.2.12/src/audio/
DSDL_wave.c84 Uint8 nybble, Sint16 *coeff) in MS_ADPCM_nibble() argument
96 if ( nybble & 0x08 ) { in MS_ADPCM_nibble()
97 new_sample += state->iDelta * (nybble-0x10); in MS_ADPCM_nibble()
99 new_sample += state->iDelta * nybble; in MS_ADPCM_nibble()
107 delta = ((Sint32)state->iDelta * adaptive[nybble])/256; in MS_ADPCM_nibble()
122 Sint8 nybble, stereo; in MS_ADPCM_decode() local
193 nybble = (*encoded)>>4; in MS_ADPCM_decode()
194 new_sample = MS_ADPCM_nibble(state[0],nybble,coeff[0]); in MS_ADPCM_decode()
200 nybble = (*encoded)&0x0F; in MS_ADPCM_decode()
201 new_sample = MS_ADPCM_nibble(state[1],nybble,coeff[1]); in MS_ADPCM_decode()
[all …]