> 26 bit sample: > int32_t real_sample[0] = samples[0]<<16 | ((uint16_t *) low_samples[0] & 0xfffc) Sorry, of course it is: int32_t real_sample[0] = samples[0]<<16 | ((uint16_t *) low_samples[0] & 0xffc0)