Minor edits to ADPCM code