This looks to me like standard IMA ADPCM which we have in audio/codecs/adpcm.h

Please check this and if it is the case, replace with our existing implementation.