Searched refs:new_sample (Results 1 – 1 of 1) sorted by relevance
92 Sint32 new_sample, delta; in MS_ADPCM_nibble() local94 new_sample = ((state->iSamp1 * coeff[0]) + 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()101 if ( new_sample < min_audioval ) { in MS_ADPCM_nibble()102 new_sample = min_audioval; in MS_ADPCM_nibble()104 if ( new_sample > max_audioval ) { in MS_ADPCM_nibble()105 new_sample = max_audioval; in MS_ADPCM_nibble()113 state->iSamp1 = (Sint16)new_sample; in MS_ADPCM_nibble()114 return(new_sample); in MS_ADPCM_nibble()[all …]