It seems your input samples are 32 bit and your output are 24 bit but left shifted by 4 bits, correct?
If that's the case then my only comment is that I would right shift the input 32 bit samples by two before adding, rather than afterwards. Otherwise you could get an overflow when you add the two signed integers and that might cause a problem. You won't lose any fidelity.
Sample rate conversion 352/384K to 192K Topic is solved
Thanks, appreciate the help. Case close!
Edit: I experienced some distortion in louder dynamic pieces of music and the >>2 first as suggested resolved it.
Edit: I experienced some distortion in louder dynamic pieces of music and the >>2 first as suggested resolved it.